[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:00:39 CST 2018


Alexander Traud created ASTERISK-27550:
------------------------------------------

             Summary: [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, 13.18.5
            Reporter: Alexander Traud


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