[asterisk-bugs] [JIRA] (SS7-54) libss7 and gcc 4.6: 'set but not used' variables

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Nov 6 17:16:03 CST 2013


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

Richard Mudgett closed SS7-54.
------------------------------

    Resolution: Fixed
    
> libss7 and gcc 4.6: 'set but not used' variables
> ------------------------------------------------
>
>                 Key: SS7-54
>                 URL: https://issues.asterisk.org/jira/browse/SS7-54
>             Project: LibSS7
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>         Environment: gcc 4.6
>            Reporter: Tzafrir Cohen
>            Assignee: mattf
>         Attachments: gcc46, libss7-gcc46-1.0.patch, libss7-gcc46-trunk.patch
>
>
> gcc 4.6  gives a warning when a value is set to a variable but it never gets used. This is often a bug in the code, and in any case useless.
> libss7 is built with -Werror, and thus those warnings break building the library.
> Attached are patches for 1.0 and for trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list