Fix unused assignment at initialization

This commit is contained in:
Stanislav Gromov 2020-11-06 22:48:29 +07:00
parent 8b53b26228
commit d5ab9f07ee

View File

@ -587,7 +587,7 @@ static void plnge2(void (*oper)(void),
rvalue(lval2);
if (lval2->ident==iCONSTEXPR) { /* constant on right side */
if (commutative(oper)) { /* test for commutative operators */
value lvaltmp = {0};
value lvaltmp;
stgdel(lval_stgidx,lval_cidx); /* scratch pushreg() and constant fetch (then
* fetch the constant again */
ldconst(lval2->constval<<dbltest(oper,lval1,lval2),sALT);