summaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
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;