# HG changeset patch # User Matt Johnston # Date 1458055201 -28800 # Node ID c8f52c19e949b344fc2aec165bf96340a8d8fe53 # Parent 3a383aaeb487fd052b42e181a62f7a65ee639b81 assertion for case that shouldn't happen diff -r 3a383aaeb487 -r c8f52c19e949 svr-kex.c --- a/svr-kex.c Tue Mar 15 23:03:59 2016 +0800 +++ b/svr-kex.c Tue Mar 15 23:20:01 2016 +0800 @@ -138,7 +138,7 @@ break; #endif default: - (void)0; + dropbear_assert(0); } if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {