[asterisk-dev] [Code Review] avoid cppcheck warnings

junky reviewboard at asterisk.org
Tue Feb 7 19:33:30 CST 2012


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

(Updated Feb. 7, 2012, 7:33 p.m.)


Review request for Asterisk Developers.


Summary
-------

By running cppcheck 1.52, i realized there was many errors/warnings.

This patch fixes many of those.


Diffs (updated)
-----

  trunk/addons/chan_mobile.c 354394 
  trunk/addons/chan_ooh323.c 354394 
  trunk/apps/app_alarmreceiver.c 354394 
  trunk/apps/app_chanspy.c 354394 
  trunk/apps/app_dial.c 354394 
  trunk/apps/app_disa.c 354394 
  trunk/apps/app_minivm.c 354394 
  trunk/apps/app_osplookup.c 354394 
  trunk/apps/app_queue.c 354394 
  trunk/apps/app_voicemail.c 354394 
  trunk/channels/chan_dahdi.c 354394 
  trunk/channels/chan_iax2.c 354394 
  trunk/channels/chan_misdn.c 354394 
  trunk/channels/chan_skinny.c 354394 
  trunk/channels/chan_usbradio.c 354394 
  trunk/formats/format_h263.c 354394 
  trunk/funcs/func_env.c 354394 
  trunk/funcs/func_odbc.c 354394 
  trunk/funcs/func_strings.c 354394 
  trunk/main/acl.c 354394 
  trunk/main/ast_expr2.fl 354394 
  trunk/main/ast_expr2f.c 354394 
  trunk/main/pbx.c 354394 
  trunk/main/udptl.c 354394 
  trunk/utils/astman.c 354394 

Diff: https://reviewboard.asterisk.org/r/1651/diff


Testing
-------

still compile fine.
Shouldn't have any impact on the code execution.


Thanks,

junky

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120208/778a2b7c/attachment.htm>


More information about the asterisk-dev mailing list