Technically GCC was wrong here, since opts_ini_parse is guranteed to change error.
authorDale Weiler <killfieldengine@gmail.com>
Sun, 21 Jul 2013 21:51:34 +0000 (21:51 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 21 Jul 2013 21:51:34 +0000 (21:51 +0000)
opts.c

diff --git a/opts.c b/opts.c
index 38386f25e0d38cef431c1f4bb6a4ee26d255b0a3..286b1686b66c72a496f656664ffaba3e6497b75a 100644 (file)
--- 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;