Alexandre Julliard : comctl32/tests: Avoid a structure initialization warning.

Alexandre Julliard julliard at winehq.org
Fri Dec 14 11:57:13 CST 2018


Module: wine
Branch: master
Commit: 0e166d998d5f203e3de67cb3776081a97f200de3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0e166d998d5f203e3de67cb3776081a97f200de3

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Dec 14 18:33:34 2018 +0100

comctl32/tests: Avoid a structure initialization warning.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/comctl32/tests/pager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/comctl32/tests/pager.c b/dlls/comctl32/tests/pager.c
index 718df25..f48dc03 100644
--- a/dlls/comctl32/tests/pager.c
+++ b/dlls/comctl32/tests/pager.c
@@ -1099,7 +1099,7 @@ static void test_wm_notify_datetime(HWND pager)
 
 static void test_wm_notify_header(HWND pager)
 {
-    NMHEADERW nmh = {0};
+    NMHEADERW nmh = {{0}};
     HDITEMW hdi = {0};
     HD_TEXTFILTERW hdtf = {0};
 




More information about the wine-cvs mailing list