winspool.drv/tests: No need to return anything as we are using a global variable now.

This commit is contained in:
Paul Vriens 2006-12-12 17:18:57 +01:00 committed by Alexandre Julliard
parent 3c0d2e3808
commit b73f30f8eb
1 changed files with 2 additions and 3 deletions

View File

@ -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];
DWORD needed;
@ -122,7 +122,6 @@ static LPSTR find_default_printer(VOID)
}
trace("default_printer: '%s'\n", default_printer);
}
return default_printer;
}
@ -1681,7 +1680,7 @@ START_TEST(info)
pGetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "GetDefaultPrinterA");
pSetDefaultPrinterA = (void *) GetProcAddress(hwinspool, "SetDefaultPrinterA");
default_printer = find_default_printer();
find_default_printer();
test_AddMonitor();
test_AddPort();