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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 25 12:54:01 CST 2014


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Fri Nov 21 20:59:11 2014 +0100

comctl32/tests: Remove unused structs (Clang).

---

 dlls/comctl32/tests/button.c |  7 -------
 dlls/comctl32/tests/tab.c    | 28 ----------------------------
 2 files changed, 35 deletions(-)

diff --git a/dlls/comctl32/tests/button.c b/dlls/comctl32/tests/button.c
index eb4e924..badd8a7 100644
--- a/dlls/comctl32/tests/button.c
+++ b/dlls/comctl32/tests/button.c
@@ -427,13 +427,6 @@ static const struct message setcheck_ignored_seq[] =
     { 0 }
 };
 
-static const struct message setcheck_uncheck_seq[] =
-{
-    { BM_SETCHECK, sent },
-    { WM_APP, sent|wparam|lparam, 0, 0 },
-    { 0 }
-};
-
 static const struct message setcheck_static_seq[] =
 {
     { BM_SETCHECK, sent },
diff --git a/dlls/comctl32/tests/tab.c b/dlls/comctl32/tests/tab.c
index 2b7f6d3..f832fef 100644
--- a/dlls/comctl32/tests/tab.c
+++ b/dlls/comctl32/tests/tab.c
@@ -77,28 +77,6 @@ static HWND parent_wnd;
 
 static struct msg_sequence *sequences[NUM_MSG_SEQUENCES];
 
-static const struct message create_parent_wnd_seq[] = {
-    { WM_GETMINMAXINFO, sent },
-    { WM_NCCREATE, sent },
-    { WM_NCCALCSIZE, sent|wparam, 0 },
-    { WM_CREATE, sent },
-    { WM_SHOWWINDOW, sent|wparam, 1 },
-    { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
-    { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
-    { WM_ACTIVATEAPP, sent|wparam, 1 },
-    { WM_NCACTIVATE, sent|wparam, 1 },
-    { WM_ACTIVATE, sent|wparam, 1 },
-    { WM_IME_SETCONTEXT, sent|wparam|defwinproc|optional, 1 },
-    { WM_IME_NOTIFY, sent|defwinproc|optional },
-    { WM_SETFOCUS, sent|wparam|defwinproc, 0 },
-    /* Win9x adds SWP_NOZORDER below */
-    { WM_WINDOWPOSCHANGED, sent},
-    { WM_NCCALCSIZE, sent|wparam|optional, 1 },
-    { WM_SIZE, sent },
-    { WM_MOVE, sent },
-    { 0 }
-};
-
 static const struct message add_tab_to_parent[] = {
     { TCM_INSERTITEMA, sent },
     { TCM_INSERTITEMA, sent|optional },
@@ -158,12 +136,6 @@ static const struct message empty_sequence[] = {
     { 0 }
 };
 
-static const struct message set_min_tab_width_seq[] = {
-    { TCM_SETMINTABWIDTH, sent|wparam, 0 },
-    { TCM_SETMINTABWIDTH, sent|wparam, 0 },
-    { 0 }
-};
-
 static const struct message get_item_count_seq[] = {
     { TCM_GETITEMCOUNT, sent|wparam|lparam, 0, 0 },
     { 0 }




More information about the wine-cvs mailing list