From 0d248200f10cee87ba12a8de9cb50eac00d6cd07 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 2 Mar 2009 18:37:16 +0000 Subject: Initialise variables. Actually make disabling of CSS dumping work. svn path=/trunk/libcss/; revision=6670 --- test/dump_computed.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/dump_computed.h') diff --git a/test/dump_computed.h b/test/dump_computed.h index 22aa639..7f3d141 100644 --- a/test/dump_computed.h +++ b/test/dump_computed.h @@ -141,10 +141,10 @@ static void dump_computed_style(const css_computed_style *style, char *buf, char *ptr = buf; size_t wrote = 0; uint8_t val; - css_colour color; - lwc_string *url; - css_fixed len1, len2; - css_unit unit1, unit2; + css_colour color = 0; + lwc_string *url = NULL; + css_fixed len1 = 0, len2 = 0; + css_unit unit1 = CSS_UNIT_PX, unit2 = CSS_UNIT_PX; /* background-attachment */ val = css_computed_background_attachment(style); -- cgit v1.2.3