[asterisk-dev] [Code Review] 4525: clang compiler warning: -Wabsolute-value
Diederik de Groot
reviewboard at asterisk.org
Thu Mar 26 11:51:55 CDT 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4525/#review14853
-----------------------------------------------------------
/branches/13/apps/app_queue.c
<https://reviewboard.asterisk.org/r/4525/#comment25459>
Not sure if this is actually preferred over downcasting qe->parent->holdtime instead
/branches/13/apps/app_queue.c
<https://reviewboard.asterisk.org/r/4525/#comment25460>
Not sure if this is prefered over downcasting now/qe-start instead
/branches/13/channels/chan_iax2.c
<https://reviewboard.asterisk.org/r/4525/#comment25461>
Moved adjust here, so it can help out in casting (ms - p->nextpred) to int
/branches/13/res/res_calendar.c
<https://reviewboard.asterisk.org/r/4525/#comment25462>
Not sure if this is prefered over downcasting to int
- Diederik de Groot
On March 26, 2015, 5:46 p.m., Diederik de Groot wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4525/
> -----------------------------------------------------------
>
> (Updated March 26, 2015, 5:46 p.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\nclang compiler warning:-Wabsolute-value
>
>
> Diffs
> -----
>
> /branches/13/res/res_rtp_asterisk.c 433444
> /branches/13/res/res_calendar.c 433444
> /branches/13/main/jitterbuf.c 433444
> /branches/13/channels/chan_iax2.c 433444
> /branches/13/apps/app_queue.c 433444
>
> Diff: https://reviewboard.asterisk.org/r/4525/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Diederik de Groot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150326/6d2698e1/attachment.html>
More information about the asterisk-dev
mailing list