Remove the wineloader variable.
This commit is contained in:
parent
4ec0d3be0a
commit
438369af9a
|
@ -57,8 +57,6 @@ struct rev_info
|
||||||
static struct wine_test *wine_tests;
|
static struct wine_test *wine_tests;
|
||||||
static struct rev_info *rev_infos = NULL;
|
static struct rev_info *rev_infos = NULL;
|
||||||
|
|
||||||
static const char *wineloader;
|
|
||||||
|
|
||||||
static int running_under_wine ()
|
static int running_under_wine ()
|
||||||
{
|
{
|
||||||
HMODULE module = GetModuleHandleA("ntdll.dll");
|
HMODULE module = GetModuleHandleA("ntdll.dll");
|
||||||
|
@ -411,8 +409,6 @@ run_tests (char *logname, const char *tag, const char *url)
|
||||||
|
|
||||||
SetErrorMode (SEM_NOGPFAULTERRORBOX);
|
SetErrorMode (SEM_NOGPFAULTERRORBOX);
|
||||||
|
|
||||||
if (!(wineloader = getenv("WINELOADER"))) wineloader = "wine";
|
|
||||||
|
|
||||||
tempdir = tempnam (0, "wct");
|
tempdir = tempnam (0, "wct");
|
||||||
if (!tempdir)
|
if (!tempdir)
|
||||||
report (R_FATAL, "Can't name temporary dir (check %%TEMP%%).");
|
report (R_FATAL, "Can't name temporary dir (check %%TEMP%%).");
|
||||||
|
|
Loading…
Reference in New Issue