diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-12-10 10:42:59 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-12-10 10:42:59 +0000 |
commit | 427174fbf2544b44071c1039720e6634fb154f84 (patch) | |
tree | 2a4ae839a1a16afc6de9c321ab1e7718c72b9532 /pattern.c | |
parent | 3df01181bdcd062a7f6b3e99c73aa1e225d97ef9 (diff) | |
download | libxml2-427174fbf2544b44071c1039720e6634fb154f84.tar.gz |
removed some compilation warnings Daniel
* SAX2.c pattern.c: removed some compilation warnings
Daniel
Diffstat (limited to 'pattern.c')
-rw-r--r-- | pattern.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -495,7 +495,7 @@ xmlPatMatch(xmlPatternPtr comp, xmlNodePtr node) { #define CUR_PTR ctxt->cur #define SKIP_BLANKS \ - while (IS_BLANK(CUR)) NEXT + while (IS_BLANK_CH(CUR)) NEXT #define CURRENT (*ctxt->cur) #define NEXT ((*ctxt->cur) ? ctxt->cur++: ctxt->cur) @@ -890,7 +890,8 @@ error: * Returns the compiled for of the pattern or NULL in case of error */ xmlPatternPtr -xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, int flags, +xmlPatterncompile(const xmlChar *pattern, xmlDict *dict, + int flags ATTRIBUTE_UNUSED, const xmlChar **namespaces) { xmlPatternPtr ret = NULL; xmlPatParserContextPtr ctxt = NULL; |