From 1dcfa50d76e807ac6bb84723141cb630caeaebfd Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 7 Jan 2007 04:34:22 +0000 Subject: [PATCH] potentially uninitialized vars git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3924 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 2 +- src/switch_ivr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 13271a3e23..367a8dce7f 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -3828,7 +3828,7 @@ static switch_api_interface_t conf_api_interface = { static switch_status_t chat_send(char *proto, char *from, char *to, char *subject, char *body, char *hint) { - char name[512] = "", *p, *lbuf; + char name[512] = "", *p, *lbuf = NULL; switch_chat_interface_t *ci; conference_obj_t *conference = NULL; switch_stream_handle_t stream = {0}; diff --git a/src/switch_ivr.c b/src/switch_ivr.c index fdef13906b..bc9f699f41 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -4492,7 +4492,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s switch_xml_t cfg, xml = NULL, language, macros, macro, input, action; char *lname = NULL, *mname = NULL, hint_data[1024] = "", enc_hint[1024] = ""; switch_status_t status = SWITCH_STATUS_GENERR; - char *old_sound_prefix, *sound_path = NULL, *tts_engine = NULL, *tts_voice = NULL; + char *old_sound_prefix = NULL, *sound_path = NULL, *tts_engine = NULL, *tts_voice = NULL; switch_channel_t *channel; uint8_t done = 0;