mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[qfcc] Fix some uninitialized variable warnings
I really wish gcc would catch more issues when not optimizing.
This commit is contained in:
parent
f6f6b2cba3
commit
4c6e1b7fc4
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ static expr_t *
|
||||||
do_op_integer (int op, expr_t *e, expr_t *e1, expr_t *e2)
|
do_op_integer (int op, expr_t *e, expr_t *e1, expr_t *e2)
|
||||||
{
|
{
|
||||||
int isval1 = 0, isval2 = 0;
|
int isval1 = 0, isval2 = 0;
|
||||||
int val1, val2;
|
int val1 = 0, val2 = 0;
|
||||||
static int valid[] = {
|
static int valid[] = {
|
||||||
'=', '+', '-', '*', '/', '&', '|', '^', '%',
|
'=', '+', '-', '*', '/', '&', '|', '^', '%',
|
||||||
SHL, SHR, AND, OR, LT, GT, LE, GE, EQ, NE, 0
|
SHL, SHR, AND, OR, LT, GT, LE, GE, EQ, NE, 0
|
||||||
|
|
Loading…
Reference in a new issue