Fixed compiler warning about uninitialized variables.

This commit is contained in:
Ryan C. Gordon 2006-01-14 09:16:16 +00:00
parent 32ac11457d
commit b06643f41d

View file

@ -219,6 +219,10 @@ evalop(struct pri pri)
long rv1, rv2; long rv1, rv2;
int rtype, oper; int rtype, oper;
/* prevent compiler whining. */
v1.val = v2.val = 0;
v1.type = v2.type = 0;
rv2=0; rv2=0;
rtype=0; rtype=0;
while (pri.pri < priority[op[-1]].pri) { while (pri.pri < priority[op[-1]].pri) {