aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
Diffstat (limited to 'code/tools')
-rw-r--r--code/tools/lcc/cpp/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/tools/lcc/cpp/eval.c b/code/tools/lcc/cpp/eval.c
index 7061eff..95a9e11 100644
--- a/code/tools/lcc/cpp/eval.c
+++ b/code/tools/lcc/cpp/eval.c
@@ -219,6 +219,10 @@ evalop(struct pri pri)
long rv1, rv2;
int rtype, oper;
+ /* prevent compiler whining. */
+ v1.val = v2.val = 0;
+ v1.type = v2.type = 0;
+
rv2=0;
rtype=0;
while (pri.pri < priority[op[-1]].pri) {