cvsuser     03/12/17 10:43:01

  Modified:    src      events.c
  Log:
  Remove a warning:
  
  A label not followed by a statement is illegal in ANSI C, but gcc prior
  to 3.0 had an undocumented extension allowing it at the end of compound
  statements.
  
  Adding a empty statement (;) after the again: label makes it valid C an
  lets a newer gcc compile without warning.
  
  Revision  Changes    Path
  1.12      +2 -2      parrot/src/events.c
  
  Index: events.c
  ===================================================================
  RCS file: /cvs/public/parrot/src/events.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -w -r1.11 -r1.12
  --- events.c  17 Dec 2003 11:26:12 -0000      1.11
  +++ events.c  17 Dec 2003 18:43:01 -0000      1.12
  @@ -1,7 +1,7 @@
   /* events.c
    *  Copyright: 2001-2003 The Perl Foundation.  All Rights Reserved.
    *  CVS Info
  - *     $Id: events.c,v 1.11 2003/12/17 11:26:12 leo Exp $
  + *     $Id: events.c,v 1.12 2003/12/17 18:43:01 boemmels Exp $
    *  Overview:
    *     Event handling stuff
    *  Data Structure and Algorithms:
  @@ -260,7 +260,7 @@
               }
           } /* while events */
   again:
  -
  +        ;
       } /* forever */
       /*
        * not reached yet
  
  
  

Reply via email to