winspool.drv/tests: No need to return anything as we are using a global variable now.
This commit is contained in:
parent
3c0d2e3808
commit
b73f30f8eb
|
@ -70,7 +70,7 @@ static DWORD report_deactivated_spooler = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static LPSTR find_default_printer(VOID)
|
static void find_default_printer(VOID)
|
||||||
{
|
{
|
||||||
static char buffer[DEFAULT_PRINTER_SIZE];
|
static char buffer[DEFAULT_PRINTER_SIZE];
|
||||||
DWORD needed;
|
DWORD needed;
|
||||||
|
@ -122,7 +122,6 @@ static LPSTR find_default_printer(VOID)
|
||||||
}
|
}
|
||||||
trace("default_printer: '%s'\n", default_printer);
|
trace("default_printer: '%s'\n", default_printer);
|
||||||
}
|
}
|
||||||
return default_printer;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1681,7 +1680,7 @@ START_TEST(info)
|
||||||
pGetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "GetDefaultPrinterA");
|
pGetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "GetDefaultPrinterA");
|
||||||
pSetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "SetDefaultPrinterA");
|
pSetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "SetDefaultPrinterA");
|
||||||
|
|
||||||
default_printer = find_default_printer();
|
find_default_printer();
|
||||||
|
|
||||||
test_AddMonitor();
|
test_AddMonitor();
|
||||||
test_AddPort();
|
test_AddPort();
|
||||||
|
|
Loading…
Reference in New Issue