summaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-12-10 10:42:59 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-12-10 10:42:59 +0000
commit427174fbf2544b44071c1039720e6634fb154f84 (patch)
tree2a4ae839a1a16afc6de9c321ab1e7718c72b9532 /pattern.c
parent3df01181bdcd062a7f6b3e99c73aa1e225d97ef9 (diff)
downloadlibxml2-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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pattern.c b/pattern.c
index 5cac2df0..36b4adf7 100644
--- a/pattern.c
+++ b/pattern.c
@@ -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;