From: Miroslav Lichvar Date: Thu, 7 Apr 2011 16:17:37 +0000 (+0200) Subject: Assert there are no unhandled commands in cmdmon X-Git-Tag: 1.25-pre2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7586b3f45f81f8a82b1fe6484151cc91256db4;p=thirdparty%2Fchrony.git Assert there are no unhandled commands in cmdmon --- diff --git a/cmdmon.c b/cmdmon.c index 4aea031f..04dd7d05 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -2288,7 +2288,7 @@ read_from_cmd_socket(void *anything) break; default: - /* Ignore message */ + assert(0); break; } } else {