]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
be more safe about compiler qwirkyness in initialization.
authorMichael Jerris <mike@jerris.com>
Sat, 10 Feb 2007 23:26:53 +0000 (23:26 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 10 Feb 2007 23:26:53 +0000 (23:26 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core.c

index a3cf47af8ee93aa6806dafb740bd585c78f72fb9..907b3951cb549ca2c5ddbe1a54c1c764a39331de 100644 (file)
@@ -2547,7 +2547,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_send_dtmf(switch_core_sessio
         if (strchr(dtmf, 'w') || strchr(dtmf, 'W')) {
             char *d;
             for (d = dtmf; d && *d; d++) {
-                char digit[2] = "";
+                               char digit[2] = {0};
                 
                 if (*d == 'w') {
                     switch_yield(500000);