mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
eval: don't try to poke *opflags if opflags is NULL
While changing this code around to not do redundant lookups, dropped this NULL pointer check. Oops. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
d626f355f6
commit
14f0328aa1
@ -988,7 +988,8 @@ static expr *expr6(void)
|
||||
label_seg = NO_SEG;
|
||||
label_ofs = 1;
|
||||
} else if (is_extern(ltype)) {
|
||||
*opflags |= OPFLAG_EXTERN;
|
||||
if (opflags)
|
||||
*opflags |= OPFLAG_EXTERN;
|
||||
}
|
||||
}
|
||||
addtotemp(type, label_ofs);
|
||||
|
Loading…
x
Reference in New Issue
Block a user