[asterisk-bugs] [JIRA] (ASTERISK-27550) [patch] bridge_softmix: Avoid warning about an uninitialized variable.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Mon Jan 8 06:39:39 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241406#comment-241406 ]
Friendly Automation commented on ASTERISK-27550:
------------------------------------------------
Change 7819 merged by Jenkins2:
bridge_softmix: Removed unused parameter from check_binaural_position_change(.).
[https://gerrit.asterisk.org/7819|https://gerrit.asterisk.org/7819]
> [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
> 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