From 13be4dcd23eb6533973f523d27e95e9905a4a2f5 Mon Sep 17 00:00:00 2001 From: icculus Date: Sat, 14 Jan 2006 09:16:16 +0000 Subject: Fixed compiler warning about uninitialized variables. git-svn-id: svn://svn.icculus.org/quake3/trunk@483 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/tools/lcc/cpp/eval.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'code/tools/lcc') 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) { -- cgit v1.2.3