]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Just fucking initialize everything
authorDale Weiler <killfieldengine@gmail.com>
Thu, 25 Apr 2013 17:11:15 +0000 (17:11 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 25 Apr 2013 17:11:15 +0000 (17:11 +0000)
parser.c

index 14cf583647c0a79362691193440f75b0d8761572..7034e64c7314ede34e1d65878c7b71c746efa40e 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -5639,11 +5639,11 @@ skipvar:
         }
 
         if (parser->tok == '#') {
-            ast_function *func   = NULL;
-            ast_value    *number = NULL;
-            float         fractional;
-            float         integral;
-            int           builtin_num;
+            ast_function *func        = NULL;
+            ast_value    *number      = NULL;
+            float         fractional  = 0;
+            float         integral    = 0;
+            int           builtin_num = 0;
 
             if (localblock) {
                 parseerror(parser, "cannot declare builtins within functions");