[xorg-bugzilla-noise] [Bug 1252] New: misplaced ; at end of if statements.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 31 09:19:53 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1252        
   
           Summary: misplaced ; at end of if statements.
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Input/Citron
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: davej at redhat.com


A quick grep reveals these gems..

./programs/Xserver/hw/xfree86/input/citron/citron.c-2141-               res =
cit_GetPacket(priv);
./programs/Xserver/hw/xfree86/input/citron/citron.c:2142:               if ((res
== Success) || (priv->lex_mode == cit_idle));
./programs/Xserver/hw/xfree86/input/citron/citron.c-2143-                      
break;
--
./programs/Xserver/hw/xfree86/input/citron/citron.c-2269-               res =
cit_GetPacket(priv);
./programs/Xserver/hw/xfree86/input/citron/citron.c:2270:               if ((res
== Success) || (priv->lex_mode == cit_idle));
./programs/Xserver/hw/xfree86/input/citron/citron.c-2271-                      
break;
--
./programs/Xserver/hw/xfree86/input/citron/citron.c-2350-               res =
cit_GetPacket(priv);
./programs/Xserver/hw/xfree86/input/citron/citron.c:2351:               if ((res
== Success) || (priv->lex_mode == cit_idle));
./programs/Xserver/hw/xfree86/input/citron/citron.c-2352-                      
break;
--
./programs/Xserver/hw/xfree86/input/citron/citron.c-2740-               res =
cit_GetPacket(priv);
./programs/Xserver/hw/xfree86/input/citron/citron.c:2741:               if ((res
== Success) || (priv->lex_mode == cit_idle));
./programs/Xserver/hw/xfree86/input/citron/citron.c-2742-                      
break;

Due to the ; we'll hit the break; every time.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list