From 098aba47c33f4095ab185627fa7473d2954a678e Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 15 Mar 2016 23:20:01 +0800 Subject: [PATCH] assertion for case that shouldn't happen --- svr-kex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svr-kex.c b/svr-kex.c index 96f4508..f3828aa 100644 --- a/svr-kex.c +++ b/svr-kex.c @@ -138,7 +138,7 @@ static void svr_ensure_hostkey() { break; #endif default: - (void)0; + dropbear_assert(0); } if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) {