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

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 4 16:01:09 CST 2014


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Dec  3 23:54:41 2014 +0100

shell32/tests: Remove unused variables (Clang).

---

 dlls/shell32/tests/assoc.c     | 1 -
 dlls/shell32/tests/shelllink.c | 2 --
 dlls/shell32/tests/shlview.c   | 5 -----
 3 files changed, 8 deletions(-)

diff --git a/dlls/shell32/tests/assoc.c b/dlls/shell32/tests/assoc.c
index ff999e9..f35938b 100644
--- a/dlls/shell32/tests/assoc.c
+++ b/dlls/shell32/tests/assoc.c
@@ -103,7 +103,6 @@ struct assoc_getstring_test
 };
 
 static const WCHAR httpW[] = {'h','t','t','p',0};
-static const WCHAR httpsW[] = {'h','t','t','p','s',0};
 static const WCHAR badW[] = {'b','a','d','b','a','d',0};
 
 static struct assoc_getstring_test getstring_tests[] =
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index 0b2b7be..ba9d1eb 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -49,8 +49,6 @@ static const GUID _IID_IShellLinkDataList = {
     { 0xb9, 0x2f, 0x00, 0xa0, 0xc9, 0x03, 0x12, 0xe1 }
 };
 
-static const WCHAR notafile[]= { 'C',':','\\','n','o','n','e','x','i','s','t','e','n','t','\\','f','i','l','e',0 };
-
 
 /* For some reason SHILCreateFromPath does not work on Win98 and
  * SHSimpleIDListFromPathA does not work on NT4. But if we call both we
diff --git a/dlls/shell32/tests/shlview.c b/dlls/shell32/tests/shlview.c
index 554e086..b9d07de 100644
--- a/dlls/shell32/tests/shlview.c
+++ b/dlls/shell32/tests/shlview.c
@@ -485,11 +485,6 @@ static const struct message folderview_getfocused_seq[] = {
     { 0 }
 };
 
-static const struct message folderview_itemcount_seq[] = {
-    { LVM_GETITEMCOUNT, sent },
-    { 0 }
-};
-
 static void test_IShellView_CreateViewWindow(void)
 {
     IShellFolder *desktop;




More information about the wine-cvs mailing list