(CANT_REACH): New. Use it instead of CANT_HAPPEN() where possible.

(oops): Cope with NULL argument passed by CANT_REACH().
This commit is contained in:
Markus Armbruster 2006-04-17 17:36:07 +00:00
parent 98d35dec3e
commit 6fee3f4535
13 changed files with 26 additions and 19 deletions

View file

@ -97,7 +97,7 @@ nxtitemp(struct nstr_item *np)
selected = 0;
break;
default:
CANT_HAPPEN("bad np->sel");
CANT_REACH();
return 0;
}
if (selected && np->ncond) {