summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-28 23:49:35 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-28 23:49:35 +0000
commit24505b0f5c872c5afb6da5093565e5a6e09ca541 (patch)
tree675aac028fceb06d49b65b628072e96fa7fe4786 /encoding.c
parent4cd3b519664b9d95935d14e72ac5965b047b3a51 (diff)
downloadlibxml2-24505b0f5c872c5afb6da5093565e5a6e09ca541.tar.gz
a lot of small cleanups based on Linus' sparse check output. Daniel
* HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index 66e63b51..3f5d8b49 100644
--- a/encoding.c
+++ b/encoding.c
@@ -1239,7 +1239,7 @@ xmlNewCharEncodingHandler(const char *name,
const char *alias;
char upper[500];
int i;
- char *up = 0;
+ char *up = NULL;
/*
* Do the alias resolution