summaryrefslogtreecommitdiff
path: root/src/cr-om-parser.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-02 18:58:59 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-02 18:58:59 +0000
commit1217c1902e50ad1b7de22d43d1e2c0f0a652ec1f (patch)
tree0c0e1058b760186a1a2bda3a80189adab90480e1 /src/cr-om-parser.c
parent2e07149b250230b8415a09cd2bddbfbad3f098f7 (diff)
downloadlibcroco-1217c1902e50ad1b7de22d43d1e2c0f0a652ec1f.tar.gz
Turned on compilation with goddamit warning options.
So I killed an awfully great number of warnings messages. Also fixed some small regressions that occured during the rewrite of cr_tknzr_get_next_toke().
Diffstat (limited to 'src/cr-om-parser.c')
-rw-r--r--src/cr-om-parser.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cr-om-parser.c b/src/cr-om-parser.c
index 9ec1dd7..34917ab 100644
--- a/src/cr-om-parser.c
+++ b/src/cr-om-parser.c
@@ -427,6 +427,8 @@ end_page (CRDocHandler *a_this, GString *a_page,
cr_statement_destroy (ctxt->cur_stmt) ;
ctxt->cur_stmt = NULL ;
}
+ a_page = NULL ; /*keep compiler happy*/
+ a_pseudo_page = NULL ; /*keep compiler happy*/
}
static void
@@ -489,7 +491,8 @@ end_media (CRDocHandler *a_this, GList *a_media_list)
ctxt->stylesheet->statements = stmts ;
stmts = NULL ;
-
+
+ a_media_list = NULL ; /*compiler happy*/
}
@@ -561,6 +564,7 @@ import_style (CRDocHandler *a_this, GList *a_media_list,
cr_statement_destroy (stmt) ;
stmt = NULL ;
}
+ a_uri_default_ns = NULL ; /*keep compiler happy*/
}
static void
@@ -638,6 +642,7 @@ end_selector (CRDocHandler *a_this,
}
}
+ a_selector_list = NULL ; /*keep compiler happy*/
}
static void