winetest: We don't need wineloader anymore

Ferenc Wagner wferi at afavant.elte.hu
Fri Apr 23 17:22:45 CDT 2004


ChangeLog: Remove the wineloader variable.

Index: programs/winetest/main.c
===================================================================
RCS file: /home/wine/wine/programs/winetest/main.c,v
retrieving revision 1.15
diff -u -r1.15 main.c
--- main.c	23 Apr 2004 02:52:21 -0000	1.15
+++ main.c	23 Apr 2004 22:20:49 -0000
@@ -57,8 +57,6 @@
 static struct wine_test *wine_tests;
 static struct rev_info *rev_infos = NULL;
 
-static const char *wineloader;
-
 static int running_under_wine ()
 {
     HMODULE module = GetModuleHandleA("ntdll.dll");
@@ -410,8 +408,6 @@
     char build_tag[128];
 
     SetErrorMode (SEM_NOGPFAULTERRORBOX);
-
-    if (!(wineloader = getenv("WINELOADER"))) wineloader = "wine";
 
     tempdir = tempnam (0, "wct");
     if (!tempdir)



More information about the wine-patches mailing list