Paul Vriens : winspool.drv/tests:
No need to return anything as we are using a global variable now.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 12 14:29:51 CST 2006
Module: wine
Branch: master
Commit: b73f30f8eb5c2debabd0065ee924d021ae20bd6e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b73f30f8eb5c2debabd0065ee924d021ae20bd6e
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Tue Dec 12 17:18:57 2006 +0100
winspool.drv/tests: No need to return anything as we are using a global variable now.
---
dlls/winspool.drv/tests/info.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index dec988e..04b1968 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -70,7 +70,7 @@ static DWORD report_deactivated_spooler
}
-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();
More information about the wine-cvs
mailing list