Use CANT_HAPPEN() rather than logerror() for some internal errors.

This commit is contained in:
Markus Armbruster 2004-04-06 18:33:40 +00:00
parent acdee1e3b6
commit 392ad15567
3 changed files with 3 additions and 4 deletions

View file

@ -106,7 +106,7 @@ nxtitemp(struct nstr_item *np, int owner)
selected = 0;
break;
default:
logerror("nxtitemp: bad selector %d\n", np->sel);
CANT_HAPPEN("bad np->sel");
return 0;
}
if (selected && np->ncond) {