projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ca2c4
)
Just fucking initialize everything
author
Dale Weiler <killfieldengine@gmail.com>
Thu, 25 Apr 2013 17:11:15 +0000
(17:11 +0000)
committer
Dale Weiler <killfieldengine@gmail.com>
Thu, 25 Apr 2013 17:11:15 +0000
(17:11 +0000)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/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");