From: Frederic Marchal Date: Fri, 25 Jan 2013 19:21:22 +0000 (+0100) Subject: Fix a warning about an uninitialized variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=924c80549b83986777731720173c7a8362e48956;p=thirdparty%2Fsarg.git Fix a warning about an uninitialized variable --- diff --git a/url.c b/url.c index e0b6b1e..2f0de54 100644 --- a/url.c +++ b/url.c @@ -529,6 +529,7 @@ Store an alias in the corresponding list. \retval 0 No error. \retval -1 Error in file. +\retval -2 Unknown string type to store. */ static int Alias_Store(char *buf) { @@ -538,7 +539,7 @@ static int Alias_Store(char *buf) unsigned short int ipv6[8]; int nbits; const char *next; - int Error; + int Error=-2; if (strncasecmp(buf,"re:",3)==0) { #ifdef USE_PCRE