winspool: remove unused code [resend without typo in the subject]

Detlef Riekenberg wine.dev at web.de
Tue Oct 5 00:04:41 CDT 2010


---
 dlls/winspool.drv/info.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 2db3100..92098f1 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -337,24 +337,6 @@ static inline BOOL is_local_file(LPWSTR name)
     return (name[0] && (name[1] == ':') && (name[2] == '\\'));
 }
 
-/******************************************************************
- * Return the number of bytes for an multi_sz string.
- * The result includes all \0s
- * (specifically the extra \0, that is needed as multi_sz terminator).
- */
-#if 0
-static int multi_sz_lenW(const WCHAR *str)
-{
-    const WCHAR *ptr = str;
-    if(!str) return 0;
-    do
-    {
-        ptr += lstrlenW(ptr) + 1;
-    } while(*ptr);
-
-    return (ptr - str + 1) * sizeof(WCHAR);
-}
-#endif
 /* ################################ */
 
 static int multi_sz_lenA(const char *str)
-- 
1.7.0.4




More information about the wine-patches mailing list