be more safe about compiler qwirkyness in initialization.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-02-10 23:26:53 +00:00
parent 400372666d
commit edbc5594af

View 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);