Skip to content

Commit

Permalink
Add a missing ERRCHK()
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdphk committed Nov 9, 2021
1 parent 64f7181 commit 5ea133b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libvcc/vcc_expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ vcc_expr5(struct vcc *tl, struct expr **e, vcc_type_t fmt)
AN(sym);
VCC_GlobalSymbol(sym, fmt);
}
ERRCHK(tl);
if (sym == NULL)
AZ(VCC_SymbolGet(tl, SYM_MAIN, SYM_NONE,
SYMTAB_PARTIAL, XREF_REF));
Expand Down

0 comments on commit 5ea133b

Please sign in to comment.