From: Alan Hourihane Date: Fri, 25 Apr 2008 09:39:52 +0000 (+0100) Subject: silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=118de7a01369977d13f40bab2ad591320cc7f7ff;p=mesa.git silence warning --- diff --git a/src/mesa/drivers/dri/common/xmlconfig.c b/src/mesa/drivers/dri/common/xmlconfig.c index c313d71e803..8602d47cf97 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.c +++ b/src/mesa/drivers/dri/common/xmlconfig.c @@ -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) {