[asterisk-dev] [Code Review] 4527: clang compiler warning: -Wunused-function

Matt Jordan reviewboard at asterisk.org
Fri Mar 27 08:24:36 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4527/#review14896
-----------------------------------------------------------

Ship it!


Ship It!

- Matt Jordan


On March 27, 2015, 5:48 a.m., Diederik de Groot wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4527/
> -----------------------------------------------------------
> 
> (Updated March 27, 2015, 5:48 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-24917
>     https://issues.asterisk.org/jira/browse/ASTERISK-24917
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> clang's static analyzer will throw quite a number warnings / errors during compilation, some of which can be very helpfull in finding corner-case bugs
> 
> clang compiler warning:-Wunused-function
> 
> Changes:
> 
> channels/chan_iax2.c:2026
> removed user_ref function because it was not used anywhere
> 
> main/dsp.c:342
> removed goertzel_update function because it was not used anywhere
> 
> 
> Diffs
> -----
> 
>   /branches/13/main/dsp.c 433444 
>   /branches/13/main/config.c 433470 
>   /branches/13/channels/chan_iax2.c 433444 
> 
> Diff: https://reviewboard.asterisk.org/r/4527/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Diederik de Groot
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150327/eaad9bb6/attachment.html>


More information about the asterisk-dev mailing list