This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: programs/winetest/gui.c fix


The following change to programs/winetest/gui.c

  revision 1.2
  date: 2004/02/19 04:12:42;  author: julliard;  state: Exp;  lines: +80 -25
  Ferenc Wagner <wferi@afavant.elte.hu>
  - command line handling (GUI will follow)
  - strip .exe[.so] from test names
  - version 2 output

introduced non-standards compliant code, and the following warning with
recent versions of GCC:

  gui.c:420: warning: deprecated use of label at end of compound statement

Fixed thusly.

Gerald

ChangeLog:
Fix non-standard code in report().
Index: gui.c
===================================================================
RCS file: /home/wine/wine/programs/winetest/gui.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 gui.c
--- gui.c	19 Feb 2004 04:12:42 -0000	1.2
+++ gui.c	19 Feb 2004 09:44:36 -0000
@@ -416,7 +416,7 @@ report (enum report_type t, ...)
     case R_QUIET:
         funcs = quiet_funcs;
         return 0;
-    default:
+    default: ;
     }

     if (!funcs) {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]