Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
This commit is contained in:
parent
11b2ddfc54
commit
426def4f44
8 changed files with 10 additions and 24 deletions
|
@ -79,8 +79,7 @@ static reg_t worklist_pop(worklist_t **wlp) {
|
|||
reg_t retval;
|
||||
|
||||
if (!wl || !wl->used) {
|
||||
fprintf(stderr, "Attempt to pop from empty worklist");
|
||||
exit(1);
|
||||
error("Attempt to pop from empty worklist");
|
||||
}
|
||||
|
||||
retval = wl->entries[--wl->used];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue