mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Fixed compiler warning about uninitialized variables.
This commit is contained in:
parent
32ac11457d
commit
b06643f41d
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue