[asterisk-bugs] [JIRA] (ASTERISK-27550) [patch] bridge_softmix: Avoid warning about an uninitialized variable.

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 1 13:23:57 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-27550:
-------------------------------------

    Target Release Version/s: 16.3.0

> [patch] bridge_softmix: Avoid warning about an uninitialized variable.
> ----------------------------------------------------------------------
>
>                 Key: ASTERISK-27550
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27550
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Bridges/bridge_softmix
>    Affects Versions: 15.1.5
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>              Labels: patch
>      Target Release: 15.3.0, 16.0.0, 16.3.0
>
>         Attachments: clang_bridge_softmix.patch
>
>
> The compiler _clang_ 5.0.1 reports:
> {code}bridge_softmix.c:1407:56: warning: variable 'bridge_channel' is uninitialized when used here [-Wuninitialized]
>                 check_binaural_position_change(bridge, softmix_data, bridge_channel);
>                                                                      ^~~~~~~~~~~~~~
> bridge_softmix.c:1367:44: note: initialize the variable 'bridge_channel' to silence this warning
>                 struct ast_bridge_channel *bridge_channel;
>                                                          ^
>                                                           = NULL{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list