[asterisk-bugs] [Zaptel 0011460]: [patch] unused code in zt_q_sig function

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 4 15:29:34 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11460 
====================================================================== 
Reported By:                flefoll
Assigned To:                qwell
====================================================================== 
Project:                    Zaptel
Issue ID:                   11460
Category:                   zaptel (the module)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Zaptel Version:              SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 2810 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-04-2007 07:31 CST
Last Modified:              12-04-2007 15:29 CST
====================================================================== 
Summary:                    [patch] unused code in zt_q_sig function
Description: 
No bug here : I just saw a strange sequence in zt_q_sig() :

static int printed = 0;
if (printed < 10) {
	printed++;
}

I guess this is a remainder of debugging code.
I propose a patch for SVN trunk to remove it, and de-obfuscate a little
bit zt_q_sig() (I know that C compilers don't care carriage returns, but we
humans do ...).

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 12-04-07 15:29  
---------------------------------------------------------------------- 
Repository: zaptel
Revision: 3300

U   branches/1.4/zaptel-base.c

------------------------------------------------------------------------
r3300 | qwell | 2007-12-04 15:29:30 -0600 (Tue, 04 Dec 2007) | 4 lines

Remove some code that does...well...nothing.

Closes issue http://bugs.digium.com/view.php?id=11460, patch by flefoll.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-04-07 15:29  svnbot         Checkin                                      
12-04-07 15:29  svnbot         Note Added: 0074779                          
12-04-07 15:29  svnbot         Status                   new => assigned     
12-04-07 15:29  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list