summaryrefslogtreecommitdiff
path: root/src/tools/lcc/cpp/eval.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-01-15 22:32:38 +0000
committerTim Angus <tim@ngus.net>2006-01-15 22:32:38 +0000
commit149d72d3e18d379b7640e0cc4e7e81377622a232 (patch)
treeefd1f51fa6d78f375900dc0dbdddac67f32d3fa1 /src/tools/lcc/cpp/eval.c
parentaf64f1b52b1a28adbf771ef644c76454d148d5ec (diff)
* Merged ioq3-r492
Diffstat (limited to 'src/tools/lcc/cpp/eval.c')
-rw-r--r--src/tools/lcc/cpp/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/lcc/cpp/eval.c b/src/tools/lcc/cpp/eval.c
index 7061effd..95a9e119 100644
--- a/src/tools/lcc/cpp/eval.c
+++ b/src/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) {