From: Michael Jerris Date: Sat, 10 Feb 2007 23:26:53 +0000 (+0000) Subject: be more safe about compiler qwirkyness in initialization. X-Git-Tag: v1.0-beta1~1171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edbc5594af38be3be68eb0ab1e6e64c0491517ba;p=thirdparty%2Ffreeswitch.git be more safe about compiler qwirkyness in initialization. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4196 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_core.c b/src/switch_core.c index a3cf47af8e..907b3951cb 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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);