(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:
parent
98d35dec3e
commit
6fee3f4535
13 changed files with 26 additions and 19 deletions
|
@ -142,7 +142,7 @@ xdprval(struct valstr *val, char *sep)
|
|||
pr("%snil", sep);
|
||||
break;
|
||||
default:
|
||||
CANT_HAPPEN("Bad VAL type");
|
||||
CANT_REACH();
|
||||
pr("0");
|
||||
}
|
||||
return " ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue