fixes for compiling using --with-minimum Daniel

* valid.c xmlIO.c: fixes for compiling using --with-minimum
Daniel
diff --git a/ChangeLog b/ChangeLog
index 88ecbc2..34801d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Oct 19 23:57:45 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+	* valid.c xmlIO.c: fixes for compiling using --with-minimum
+
 Sun Oct 19 23:46:04 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
 	* tree.c: cleanup xmlNodeGetContent() reusing xmlNodeBufGetContent(),
diff --git a/valid.c b/valid.c
index bfa34b2..de441c2 100644
--- a/valid.c
+++ b/valid.c
@@ -27,8 +27,6 @@
 
 static xmlElementPtr xmlGetDtdElementDesc2(xmlDtdPtr dtd, const xmlChar *name,
 	                           int create);
-#ifdef LIBXML_VALID_ENABLED
-
 /* #define DEBUG_VALID_ALGO */
 /* #define DEBUG_REGEXP_ALGO */
 
@@ -107,6 +105,7 @@
                         msg);
 }
 
+#ifdef LIBXML_VALID_ENABLED
 /**
  * xmlErrValidNodeNr:
  * @ctxt:  an XML validation parser context
diff --git a/xmlIO.c b/xmlIO.c
index ce0c264..d62f7e5 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -2108,7 +2108,6 @@
 xmlParserInputBufferPtr
 xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) {
     xmlParserInputBufferPtr ret;
-    int is_http = 0;
     int i = 0;
     void *context = NULL;
 
@@ -2127,8 +2126,6 @@
 		(xmlInputCallbackTable[i].matchcallback(URI) != 0)) {
 		context = xmlInputCallbackTable[i].opencallback(URI);
 		if (context != NULL) {
-		    if (xmlInputCallbackTable[i].opencallback == xmlIOHTTPOpen)
-		        is_http = 1;
 		    break;
 		}
 	    }