removed some compilation warnings Daniel

* SAX2.c pattern.c: removed some compilation warnings
Daniel
diff --git a/pattern.c b/pattern.c
index 5cac2df..36b4adf 100644
--- a/pattern.c
+++ b/pattern.c
@@ -495,7 +495,7 @@
 #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 @@
  * 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;