diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-11-08 16:24:57 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-11-08 16:24:57 +0000 |
commit | a82b182655ccee95e3b7210066206ddb3918823f (patch) | |
tree | 3cb6b50795e1ef456b8642f1bb545ea74cf08f5a /xmlregexp.c | |
parent | 2a4fb5ac07c6eff494aec174041fa01a6a828230 (diff) | |
download | libxml2-a82b182655ccee95e3b7210066206ddb3918823f.tar.gz |
more coverage more fixes Daniel
* gentest.py testapi.c: more coverage
* debugXML.c parser.c xmlregexp.c xpath.c: more fixes
Daniel
Diffstat (limited to 'xmlregexp.c')
-rw-r--r-- | xmlregexp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlregexp.c b/xmlregexp.c index b34cf9c8..eb67fa44 100644 --- a/xmlregexp.c +++ b/xmlregexp.c @@ -4062,6 +4062,8 @@ void xmlRegexpPrint(FILE *output, xmlRegexpPtr regexp) { int i; + if (output == NULL) + return; fprintf(output, " regexp: "); if (regexp == NULL) { fprintf(output, "NULL\n"); |