Fix 'label cannot be reached' static analyzer warning in disclaim_test
authorIvan Maidanski <ivmai@mail.ru>
Tue, 27 Sep 2016 17:23:19 +0000 (20:23 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 27 Sep 2016 17:24:28 +0000 (20:24 +0300)
commit651c7ace5ea9fa20d60fe3a3db2627c82bb3b18b
treec0ffbfda289f935b3fedcefe6902a880f9381dc3
parentc11aef28278160df8720a755417a2fb6f1c56278
Fix 'label cannot be reached' static analyzer warning in disclaim_test

* disclaim_test.c (GROW_LIMIT): Define to MUTATE_CNT/10 (instead of
10000000), so that it is always less than MUTATE_CNT (thus
i > GROW_LIMIT is not always false, thus all switch cases are
reachable).
tests/disclaim_test.c