fix build on newer gcc with pickier warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9339 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-08-21 02:10:43 +00:00
parent 67a5c58124
commit 5f8991d6e8
1 changed files with 3 additions and 3 deletions

View File

@ -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 (!switch_strlen_zero(global_buf)) {
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 (!switch_strlen_zero(global_buf)) {
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 (!switch_strlen_zero(global_buf)) {
if (*global_buf =! '\0') {
switch_set_string(input, global_buf);
*global_buf = '\0';
status = SWITCH_STATUS_SUCCESS;