Author: mmichelson
Date: Tue Aug 19 14:55:06 2014
New Revision: 421448

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421448
Log:
Fix compilation error on certain versions of GCC.
........

Merged revisions 421447 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/res/res_stasis.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/res/res_stasis.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/13/res/res_stasis.c?view=diff&rev=421448&r1=421447&r2=421448
==============================================================================
--- branches/13/res/res_stasis.c (original)
+++ branches/13/res/res_stasis.c Tue Aug 19 14:55:06 2014
@@ -1336,9 +1336,10 @@
        control = NULL;
 
        if (!ast_check_hangup_locked(chan) && !ast_channel_pbx(chan)) {
-               struct ast_pbx_args pbx_args = {
-                       .no_hangup_chan = 1,
-               };
+               struct ast_pbx_args pbx_args;
+
+               memset(&pbx_args, 0, sizeof(pbx_args));
+               pbx_args.no_hangup_chan = 1;
 
                res = ast_pbx_run_args(chan, &pbx_args);
        }


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to