[PATCH] comctl32: initialize class to 0 (LLVM/Clang)

Marcin Baczyński marbacz at gmail.com
Sun Jan 3 18:34:38 CST 2010


---
 dlls/comctl32/theming.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/theming.c b/dlls/comctl32/theming.c
index bab87cc..7b53cfd 100644
--- a/dlls/comctl32/theming.c
+++ b/dlls/comctl32/theming.c
@@ -126,7 +126,7 @@ void THEMING_Initialize (void)
 
     for (i = 0; i < NUM_SUBCLASSES; i++)
     {
-        WNDCLASSEXW class;
+        WNDCLASSEXW class = {0};
 
         class.cbSize = sizeof(class);
         class.style |= CS_GLOBALCLASS;
-- 
1.6.6




More information about the wine-patches mailing list