diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-02 18:37:16 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-02 18:37:16 +0000 |
commit | 0d248200f10cee87ba12a8de9cb50eac00d6cd07 (patch) | |
tree | 96a8be578a1d6df5dd04729b157cb63697f989f6 /test/dump_computed.h | |
parent | 553939ce35affac69b472e23eb30fed10a930187 (diff) | |
download | libcss-0d248200f10cee87ba12a8de9cb50eac00d6cd07.tar.gz libcss-0d248200f10cee87ba12a8de9cb50eac00d6cd07.tar.bz2 |
Initialise variables.
Actually make disabling of CSS dumping work.
svn path=/trunk/libcss/; revision=6670
Diffstat (limited to 'test/dump_computed.h')
-rw-r--r-- | test/dump_computed.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |