summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-02-29 01:06:28 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-02-29 01:06:28 +0000
commit3ead86bfa0d3c7dd5749649a3ba805a944b33689 (patch)
treecd1efe425e38af7997f736876c960603a5ddf5c9
parenta2baab08b9a693452eb6c99c4f7a713508df6c2e (diff)
downloadlibcroco-3ead86bfa0d3c7dd5749649a3ba805a944b33689.tar.gz
fixed a small bug in here: Always Initialise output function argument !!!.
2004-02-29 Dodji Seketeli <dodji@gnome.org> * src/cr-sel-eng.c: (put_css_properties_in_props_list): fixed a small bug in here: Always Initialise output function argument !!!.
-rw-r--r--ChangeLog6
-rw-r--r--src/cr-sel-eng.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ab1564c..a80c22f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-29 Dodji Seketeli <dodji@gnome.org>
+
+ * src/cr-sel-eng.c:
+ (put_css_properties_in_props_list): fixed a small bug in here:
+ Always Initialise output function argument !!!.
+
2004-02-29 Dodji Seketeli <dodji@gnome.org>
* src/cr-prop-list.[ch], src/Makefile.am,src/libcroco.h:
diff --git a/src/cr-sel-eng.c b/src/cr-sel-eng.c
index e365590..5a8954a 100644
--- a/src/cr-sel-eng.c
+++ b/src/cr-sel-eng.c
@@ -1090,7 +1090,10 @@ put_css_properties_in_props_list (CRPropList **a_props,
for (cur_decl = a_stmt->kind.ruleset->decl_list ;
cur_decl ; cur_decl = cur_decl->next)
{
- CRDeclaration *decl = NULL ;
+ CRDeclaration *decl ;
+
+ decl = NULL ;
+ pair = NULL ;
if (!cur_decl->property || !cur_decl->property->str)
continue ;