Fix read of uninitialized variable
This fixes a copy & paste mistake in commit 53221dd2ccf29fc5e357ffb67363ca7461d24193.
This commit is contained in:
parent
a9e1af66b1
commit
5b0dec0b3d
@ -5754,7 +5754,7 @@ static void doreturn(void)
|
||||
} else {
|
||||
/* this return statement contains no expression */
|
||||
ldconst(0,sPRI);
|
||||
if ((rettype & uRETVALUE)!=0 && (sym->flags & flagNAKED)==0) {
|
||||
if ((rettype & uRETVALUE)!=0 && (curfunc->flags & flagNAKED)==0) {
|
||||
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
|
||||
assert(curfunc!=NULL);
|
||||
funcdisplayname(symname,curfunc->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user