[asterisk-bugs] [Asterisk 0015678]: [patch] IF ELSE and WHILE braces, plus white space cleanup

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 14 18:08:18 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15678 
====================================================================== 
Reported By:                alecdavis
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15678
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 211197 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-08 04:51 CDT
Last Modified:              2009-08-14 18:08 CDT
====================================================================== 
Summary:                    [patch] IF ELSE and WHILE braces, plus white space
cleanup
Description: 
Other clean up was <pre>

  if (a)
    return 1;
  else
    return 2;

generally became;
  if (a) {
    return 1;
  }
  return 2;</pre>

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

---------------------------------------------------------------------- 
 (0109066) svnbot (reporter) - 2009-08-14 18:08
 https://issues.asterisk.org/view.php?id=15678#c109066 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212291

U   trunk/channels/sig_analog.c

------------------------------------------------------------------------
r212291 | jpeeler | 2009-08-14 18:08:18 -0500 (Fri, 14 Aug 2009) | 8 lines

Add braces where missing and a few whitespace fixes in sig_analog

(closes issue https://issues.asterisk.org/view.php?id=15678)
Reported by: alecdavis
Patches:
      sig_analog_mainly_braces.diff.txt uploaded by alecdavis (license
585)
Tested by: alecdavis

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-14 18:08 svnbot         Checkin                                      
2009-08-14 18:08 svnbot         Note Added: 0109066                          
======================================================================




More information about the asterisk-bugs mailing list