From: Michael Jerris Date: Tue, 18 Mar 2014 21:26:59 +0000 (-0400) Subject: fix clang warning about control reaches end of non-void function X-Git-Tag: v1.5.12~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99dcbf0e80ecfc8172fe7825e40a1312b042cac9;p=thirdparty%2Ffreeswitch.git fix clang warning about control reaches end of non-void function --- diff --git a/src/mod/event_handlers/mod_event_zmq/mod_event_zmq.cpp b/src/mod/event_handlers/mod_event_zmq/mod_event_zmq.cpp index b85acbf0e0..e29e710f13 100644 --- a/src/mod/event_handlers/mod_event_zmq/mod_event_zmq.cpp +++ b/src/mod/event_handlers/mod_event_zmq/mod_event_zmq.cpp @@ -187,6 +187,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(shutdown) { } catch(...) { // Exceptions must not propogate to C caller switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown error shutting down module\n"); } + return SWITCH_STATUS_SUCCESS; } }