always initialize send_message_info.flags (detected by valgrind)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * always initialize send_message_info.flags
Index: dlls/user/message.c
===================================================================
RCS file: /home/wine/wine/dlls/user/message.c,v
retrieving revision 1.45
diff -u -r1.45 message.c
--- dlls/user/message.c	15 Sep 2003 19:58:05 -0000	1.45
+++ dlls/user/message.c	21 Sep 2003 15:47:37 -0000
@@ -2028,6 +2028,7 @@
     info.msg     = msg;
     info.wparam  = wparam;
     info.lparam  = lparam;
+    info.flags   = 0;
 
     if (is_broadcast(hwnd))
     {
@@ -2082,6 +2083,7 @@
     info.lparam   = lparam;
     info.callback = callback;
     info.data     = data;
+    info.flags    = 0;
 
     if (is_broadcast(hwnd))
     {
@@ -2171,6 +2173,7 @@
     info.msg    = msg;
     info.wparam = wparam;
     info.lparam = lparam;
+    info.flags  = 0;
 
     if (is_broadcast(hwnd))
     {
@@ -2216,6 +2219,7 @@
     info.msg    = msg;
     info.wparam = wparam;
     info.lparam = lparam;
+    info.flags  = 0;
     return put_message_in_queue( thread, &info, NULL );
 }
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux