From: Daniel Swarbrick Date: Thu, 14 Jun 2012 10:16:08 +0000 (+0200) Subject: Resolve unused-but-set-variable introduced by c608ca3 and remove a line of redundant... X-Git-Tag: v1.2.0~290^2~9^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b48cf8778730bfb745c54f97681df94cadbab83;p=thirdparty%2Ffreeswitch.git Resolve unused-but-set-variable introduced by c608ca3 and remove a line of redundant code. --- diff --git a/src/switch_core.c b/src/switch_core.c index 2f29097008..d706563f83 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -1577,12 +1577,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc static void handle_SIGCHLD(int sig) { int status = 0; - int pid = 0; - if (sig) {}; - - pid = wait(&status); - + wait(&status); return; } #endif