PATCH: programs/winetest/gui.c fix

Gerald Pfeifer gerald at pfeifer.com
Thu Feb 19 04:02:01 CST 2004


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 at 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) {



More information about the wine-patches mailing list