Detlef Riekenberg : winspool: Remove unused code.

Alexandre Julliard julliard at winehq.org
Tue Oct 5 12:03:06 CDT 2010


Module: wine
Branch: master
Commit: b23be05eefcb8c1195f1055e0062040022a39328
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b23be05eefcb8c1195f1055e0062040022a39328

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Tue Oct  5 07:04:41 2010 +0200

winspool: Remove unused code.

---

 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)




More information about the wine-cvs mailing list