silence warning
authorAlan Hourihane <alanh@tungstengraphics.com>
Fri, 25 Apr 2008 09:39:52 +0000 (10:39 +0100)
committerAlan Hourihane <alanh@tungstengraphics.com>
Fri, 25 Apr 2008 09:39:52 +0000 (10:39 +0100)
src/mesa/drivers/dri/common/xmlconfig.c

index c313d71e8036b0996103256d0b7dc96242d503d3..8602d47cf9711c7d6567211debf0bc20dabc8de7 100644 (file)
@@ -279,7 +279,7 @@ static GLfloat strToF (const XML_Char *string, const XML_Char **tail) {
 /** \brief Parse a value of a given type. */
 static GLboolean parseValue (driOptionValue *v, driOptionType type,
                             const XML_Char *string) {
-    const XML_Char *tail;
+    const XML_Char *tail = NULL;
   /* skip leading white-space */
     string += strspn (string, " \f\n\r\t\v");
     switch (type) {