case.c: variable_matches_case -> assert_variable_matches_case
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 22 May 2017 08:07:32 +0000 (10:07 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 22 May 2017 08:07:32 +0000 (10:07 +0200)
commit829735a75b39004abe9a5ff6b72306b3c1230ca4
tree27945d44abf79fc032978454a7b98c9c304dc3e0
parentd45513730084f9f7b591b32cd4a31a94ed5a2f59
case.c: variable_matches_case -> assert_variable_matches_case

This function was only used in assertions.   Having the function itself assert, rather
than returning a boolean makes debugging easier, because one need not guess which
term of the assertion has failed.
src/data/case.c