Commit f4a13b9f authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

comctl32/tests: Remove dead assignments in treeview.c (Cppcheck).

parent dd856be3
...@@ -663,7 +663,7 @@ static void test_focus(void) ...@@ -663,7 +663,7 @@ static void test_focus(void)
static void test_get_set_bkcolor(void) static void test_get_set_bkcolor(void)
{ {
COLORREF crColor = RGB(0,0,0); COLORREF crColor;
HWND hTree; HWND hTree;
hTree = create_treeview_control(0); hTree = create_treeview_control(0);
...@@ -719,9 +719,9 @@ static void test_get_set_imagelist(void) ...@@ -719,9 +719,9 @@ static void test_get_set_imagelist(void)
static void test_get_set_indent(void) static void test_get_set_indent(void)
{ {
int ulIndent = -1; int ulIndent;
int ulMinIndent = -1; int ulMinIndent;
int ulMoreThanTwiceMin = -1; int ulMoreThanTwiceMin;
HWND hTree; HWND hTree;
hTree = create_treeview_control(0); hTree = create_treeview_control(0);
...@@ -914,7 +914,7 @@ static void test_get_set_scrolltime(void) ...@@ -914,7 +914,7 @@ static void test_get_set_scrolltime(void)
static void test_get_set_textcolor(void) static void test_get_set_textcolor(void)
{ {
/* If the value is -1, the control is using the system color for the text color. */ /* If the value is -1, the control is using the system color for the text color. */
COLORREF crColor = RGB(0,0,0); COLORREF crColor;
HWND hTree; HWND hTree;
hTree = create_treeview_control(0); hTree = create_treeview_control(0);
...@@ -974,8 +974,8 @@ static void test_get_set_tooltips(void) ...@@ -974,8 +974,8 @@ static void test_get_set_tooltips(void)
static void test_get_set_unicodeformat(void) static void test_get_set_unicodeformat(void)
{ {
BOOL bPreviousSetting = FALSE; BOOL bPreviousSetting;
BOOL bNewSetting = FALSE; BOOL bNewSetting;
HWND hTree; HWND hTree;
hTree = create_treeview_control(0); hTree = create_treeview_control(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment