[Home]

Summary:ASTERISK-04367: [patch] unused variables and middle-of-block declarations
Reporter:Luigi Rizzo (rizzo)Labels:
Date Opened:2005-06-07 08:05:35Date Closed:2008-01-15 15:37:40.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) unused.diff
Description:this patch removes unused variables and moves middle-of-the-block
declaration to the proper place.

With these (and a couple of other Makefile tweaks) it becomes possible to compile
with -Wall -Werror, which is highly recommended to catch bugs.
Comments:By: Kevin P. Fleming (kpfleming) 2005-06-07 12:57:09

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:37:40.000-0600

Repository: asterisk
Revision: 5875

U   trunk/apps/app_zapscan.c
U   trunk/channels/chan_sip.c
U   trunk/channels/chan_skinny.c

------------------------------------------------------------------------
r5875 | kpfleming | 2008-01-15 15:37:40 -0600 (Tue, 15 Jan 2008) | 2 lines

various compiler warning fixes (bug ASTERISK-4367)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5875