From b23be05eefcb8c1195f1055e0062040022a39328 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Tue, 5 Oct 2010 07:04:41 +0200 Subject: [PATCH] winspool: Remove unused code. --- dlls/winspool.drv/info.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 2db3100bde4..92098f1ef64 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) -- 2.11.4.GIT