Module: wine Branch: master Commit: 0dca1ebecf94ef44726c3bf83a059fee326f822c URL: http://source.winehq.org/git/wine.git/?a=commit;h=0dca1ebecf94ef44726c3bf83a...
Author: Marcus Meissner marcus@jet.franken.de Date: Mon Nov 23 09:48:03 2009 +0100
winspool.drv: Remove useless assignments without NULL ptr check (Coverity).
---
dlls/winspool.drv/info.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 7dac2b6..6d623d6 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -3766,8 +3766,6 @@ static BOOL WINSPOOL_EnumPrinters(DWORD dwType, LPWSTR lpszName, dwType &= ~PRINTER_ENUM_CONNECTIONS; /* we don't handle that */ if (!dwType) { FIXME("We don't handle PRINTER_ENUM_CONNECTIONS\n"); - *lpdwNeeded = 0; - *lpdwReturned = 0; return TRUE; }