diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2006-03-10 13:40:16 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2006-03-10 13:40:16 +0000 |
commit | aac7c68e87d00732b319698723de1ec43252fb01 (patch) | |
tree | 3619c17f4b86099058e751a72b608ee9aa3ced64 /xmlschemas.c | |
parent | 11ce4004d86bb4b317c48b7d5124ba33e40e10f5 (diff) | |
download | android_external_libxml2-aac7c68e87d00732b319698723de1ec43252fb01.tar.gz android_external_libxml2-aac7c68e87d00732b319698723de1ec43252fb01.tar.bz2 android_external_libxml2-aac7c68e87d00732b319698723de1ec43252fb01.zip |
fix a few warning raised by gcc-4.1 and latests changes Daniel
* c14n.c encoding.c xmlschemas.c xpath.c xpointer.c: fix a few
warning raised by gcc-4.1 and latests changes
Daniel
Diffstat (limited to 'xmlschemas.c')
-rw-r--r-- | xmlschemas.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmlschemas.c b/xmlschemas.c index d8824de7..20591963 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -2825,7 +2825,8 @@ xmlSchemaPCustomAttrErr(xmlSchemaParserCtxtPtr ctxt, if (attr == NULL) { xmlSchemaPErrExt(ctxt, NULL, error, NULL, NULL, NULL, "%s, attribute '%s': %s.\n", - BAD_CAST des, "Unknown", (const xmlChar *) msg, NULL, NULL); + BAD_CAST des, (const xmlChar *) "Unknown", + (const xmlChar *) msg, NULL, NULL); } else { xmlSchemaPErrExt(ctxt, (xmlNodePtr) attr, error, NULL, NULL, NULL, "%s, attribute '%s': %s.\n", @@ -8000,7 +8001,7 @@ xmlSchemaCheckCSelectorXPath(xmlSchemaParserCtxtPtr ctxt, * field. */ if (attr == NULL) - nsList == NULL; + nsList = NULL; else nsList = xmlGetNsList(attr->doc, attr->parent); /* |