consider: Clean up recovery from an impossible error
Drop the unhelpful message to the player, and fail the command. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
4877a2f024
commit
a30842410e
1 changed files with 3 additions and 4 deletions
|
@ -90,10 +90,9 @@ cons(void)
|
|||
rv = postpone(<c);
|
||||
break;
|
||||
default:
|
||||
pr("Bad operation %c from cons_choose; get help!\n", ltc.op);
|
||||
break;
|
||||
};
|
||||
|
||||
CANT_REACH();
|
||||
return RET_SYN;
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue