]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
potentially uninitialized vars
authorMichael Jerris <mike@jerris.com>
Sun, 7 Jan 2007 04:34:22 +0000 (04:34 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 7 Jan 2007 04:34:22 +0000 (04:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3924 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c
src/switch_ivr.c

index 13271a3e23890ee212f5b61c2794dc202522a043..367a8dce7f00a0a92f9af18c6a61771d8e47c683 100644 (file)
@@ -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};
index fdef13906bc65e8fbbbbc8c23a2afedc632fdf47..bc9f699f41d05ac480b1f72212603deb634b7288 100644 (file)
@@ -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;