diff options
author | David Walter Seikel | 2014-08-09 20:10:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-08-09 20:10:08 +1000 |
commit | f2b14df74cee8d199bf246e95935954f77e0cbec (patch) | |
tree | d385bc4d0ca92577a89a80bc3d300303876dc753 /src | |
parent | Major cleanup of compileLSL() and friends, including threading it. (diff) | |
download | SledjHamr-f2b14df74cee8d199bf246e95935954f77e0cbec.zip SledjHamr-f2b14df74cee8d199bf246e95935954f77e0cbec.tar.gz SledjHamr-f2b14df74cee8d199bf246e95935954f77e0cbec.tar.bz2 SledjHamr-f2b14df74cee8d199bf246e95935954f77e0cbec.tar.xz |
Init lType and rType, was getting bogus values.
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index 87ba95d..94b354b 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -373,7 +373,7 @@ LSL_Leaf *addOperation(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, | |||
373 | { | 373 | { |
374 | if (lval) | 374 | if (lval) |
375 | { | 375 | { |
376 | opType lType, rType; | 376 | opType lType = OT_invalid, rType = OT_invalid; |
377 | 377 | ||
378 | lval->left = left; | 378 | lval->left = left; |
379 | lval->right = right; | 379 | lval->right = right; |