=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: kernel32/tests: Remove unused strings (Clang).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 2 13:40:20 CST 2014


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Dec  1 22:56:10 2014 +0100

kernel32/tests: Remove unused strings (Clang).

---

 dlls/kernel32/tests/actctx.c | 2 --
 dlls/kernel32/tests/file.c   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/dlls/kernel32/tests/actctx.c b/dlls/kernel32/tests/actctx.c
index c964743..97e7dd2 100644
--- a/dlls/kernel32/tests/actctx.c
+++ b/dlls/kernel32/tests/actctx.c
@@ -304,8 +304,6 @@ static const WCHAR wndClass2W[] =
     {'w','n','d','C','l','a','s','s','2',0};
 static const WCHAR wndClass3W[] =
     {'w','n','d','C','l','a','s','s','3',0};
-static const WCHAR acr_manifest[] =
-    {'a','c','r','.','m','a','n','i','f','e','s','t',0};
 
 static WCHAR app_dir[MAX_PATH], exe_path[MAX_PATH], work_dir[MAX_PATH], work_dir_subdir[MAX_PATH];
 static WCHAR app_manifest_path[MAX_PATH], manifest_path[MAX_PATH], depmanifest_path[MAX_PATH];
diff --git a/dlls/kernel32/tests/file.c b/dlls/kernel32/tests/file.c
index 3a30fc2..8849eb3 100644
--- a/dlls/kernel32/tests/file.c
+++ b/dlls/kernel32/tests/file.c
@@ -47,9 +47,7 @@ static BOOL (WINAPI *pSetFileValidData)(HANDLE, LONGLONG);
 static HRESULT (WINAPI *pCopyFile2)(PCWSTR,PCWSTR,COPYFILE2_EXTENDED_PARAMETERS*);
 static HANDLE (WINAPI *pCreateFile2)(LPCWSTR, DWORD, DWORD, DWORD, CREATEFILE2_EXTENDED_PARAMETERS*);
 
-/* keep filename and filenameW the same */
 static const char filename[] = "testfile.xxx";
-static const WCHAR filenameW[] = { 't','e','s','t','f','i','l','e','.','x','x','x',0 };
 static const char sillytext[] =
 "en larvig liten text dx \033 gx hej 84 hej 4484 ! \001\033 bla bl\na.. bla bla."
 "1234 43 4kljf lf &%%%&&&&&& 34 4 34   3############# 33 3 3 3 # 3## 3"




More information about the wine-cvs mailing list