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

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jan 5 06:02:39 CST 2018


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

Alexander Traud updated ASTERISK-27550:
---------------------------------------

    Attachment: clang_bridge_softmix.patch

> [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: 13.18.5, 15.1.5
>            Reporter: Alexander Traud
>              Labels: patch
>         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