From: Dale Weiler Date: Sun, 21 Jul 2013 21:51:34 +0000 (+0000) Subject: Technically GCC was wrong here, since opts_ini_parse is guranteed to change error. X-Git-Tag: v0.3.0~76 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=697ad9d3a795ac542d6d9e14b85a02300cc26aad;p=xonotic%2Fgmqcc.git Technically GCC was wrong here, since opts_ini_parse is guranteed to change error. --- diff --git a/opts.c b/opts.c index 38386f2..286b168 100644 --- a/opts.c +++ b/opts.c @@ -347,7 +347,7 @@ void opts_ini_init(const char *file) { * gmqcc.ini * gmqcc.cfg */ - char *error; + char *error = NULL; size_t line; FILE *ini;