]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-2216 --resolve
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 14 Dec 2011 15:27:31 +0000 (10:27 -0500)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Wed, 14 Dec 2011 15:27:31 +0000 (10:27 -0500)
src/mod/applications/mod_conference/mod_conference.c
src/switch.c
src/switch_core.c

index c41f613287e1f29e7b6d738106804abe68d2ccc9..688edcd6ac092dac109e429db85c65e5560c64b1 100644 (file)
@@ -899,7 +899,7 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe
                conference->count++;
 
                if (switch_test_flag(member, MFLAG_ENDCONF)) {
-                       if (conference->end_count++);
+                       if (conference->end_count++) {};
                }
 
                conference_send_presence(conference);
index 4d4208ebdba64b7e632b2cfe4bebf5e21553359d..dc496473803ffcf3e117f74c230b37e7b3e2c319 100644 (file)
@@ -76,7 +76,7 @@ static HANDLE shutdown_event;
 static void handle_SIGILL(int sig)
 {
        int32_t arg = 0;
-       if (sig);
+       if (sig) {};
        /* send shutdown signal to the freeswitch core */
        switch_core_session_ctl(SCSC_SHUTDOWN, &arg);
        return;
index 4d687bf8cc6a6d4058ca9a76c23a0f986d3fe9e7..4d00122b37341d739dc430bf5caa18b7a6082536 100644 (file)
@@ -1500,7 +1500,7 @@ static void handle_SIGCHLD(int sig)
        int status = 0;
        int pid = 0;
 
-       if (sig);
+       if (sig) {};
 
        pid = wait(&status);