aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-14 09:16:16 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-14 09:16:16 +0000
commit13be4dcd23eb6533973f523d27e95e9905a4a2f5 (patch)
treef807f4abee0c5b8e8ca36aadedef121fa908e94b /code/tools
parent1ec5176c0da579e2525b026a7baf1fe7b05a758f (diff)
downloadioquake3-aero-13be4dcd23eb6533973f523d27e95e9905a4a2f5.tar.gz
ioquake3-aero-13be4dcd23eb6533973f523d27e95e9905a4a2f5.zip
Fixed compiler warning about uninitialized variables.
git-svn-id: svn://svn.icculus.org/quake3/trunk@483 edf5b092-35ff-0310-97b2-ce42778d08ea
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) {