From: Michael Jerris Date: Thu, 21 Aug 2008 02:40:59 +0000 (+0000) Subject: fix build on newer gcc with pickier warnings X-Git-Tag: v1.0.2~1399 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037a96079c684514ddbf54f14268cf70921cc19f;p=thirdparty%2Ffreeswitch.git fix build on newer gcc with pickier warnings git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9341 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index f250466ca9..7e6496b288 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -1403,7 +1403,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro switch_snprintf(msg_count, sizeof(msg_count), "%d:urgent-new", total_new_urgent_messages); TRY_CODE(switch_ivr_phrase_macro(session, VM_MESSAGE_COUNT_MACRO, msg_count, NULL, &args)); informed++; - if (*global_buf =! '\0') { + if ((*global_buf =! '\0')) { vm_check_state = VM_CHECK_MENU; continue; } @@ -1412,7 +1412,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro switch_snprintf(msg_count, sizeof(msg_count), "%d:new", total_new_messages); TRY_CODE(switch_ivr_phrase_macro(session, VM_MESSAGE_COUNT_MACRO, msg_count, NULL, &args)); informed++; - if (*global_buf =! '\0') { + if ((*global_buf =! '\0')) { vm_check_state = VM_CHECK_MENU; continue; } @@ -1621,7 +1621,7 @@ static void voicemail_check_main(switch_core_session_t *session, const char *pro char input[10] = ""; char key_buf[80] = ""; play_msg_type = MSG_NONE; - if (*global_buf =! '\0') { + if ((*global_buf =! '\0')) { switch_set_string(input, global_buf); *global_buf = '\0'; status = SWITCH_STATUS_SUCCESS;