[ros-diffs] [dgorbachev] 44919: Fix GCC 4.5.0 "operation may be undefined" warning.

dgorbachev at svn.reactos.org dgorbachev at svn.reactos.org
Sun Jan 3 21:12:43 CET 2010


Author: dgorbachev
Date: Sun Jan  3 21:12:43 2010
New Revision: 44919

URL: http://svn.reactos.org/svn/reactos?rev=44919&view=rev
Log:
Fix GCC 4.5.0 "operation may be undefined" warning.

Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/window.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/window.c?rev=44919&r1=44918&r2=44919&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Sun Jan  3 21:12:43 2010
@@ -1256,7 +1256,7 @@
    if (Wnd->spwndParent && Wnd->spwndParent->spwndChild == Wnd)
       Wnd->spwndParent->spwndChild = Wnd->spwndNext;
 
-   Wnd->spwndParent = Wnd->spwndPrev = Wnd->spwndNext = Wnd->spwndParent = NULL;
+   Wnd->spwndPrev = Wnd->spwndNext = Wnd->spwndParent = NULL;
 }
 
 




More information about the Ros-diffs mailing list