aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-08-09 20:10:08 +1000
committerDavid Walter Seikel2014-08-09 20:10:08 +1000
commitf2b14df74cee8d199bf246e95935954f77e0cbec (patch)
treed385bc4d0ca92577a89a80bc3d300303876dc753 /src/LuaSL
parentMajor cleanup of compileLSL() and friends, including threading it. (diff)
downloadSledjHamr-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 'src/LuaSL')
-rw-r--r--src/LuaSL/LuaSL_compile.c2
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;