[ros-diffs] [osiejka] 51196: [SHELL32] - Fix compile warning (uninitialized use). Based on patch by Edijs Kolesnikovics <terminedijs at yahoo dot com> slightly modified by Aleksiej See issue #6058 for more det...

osiejka at svn.reactos.org osiejka at svn.reactos.org
Tue Mar 29 21:41:14 UTC 2011


Author: osiejka
Date: Tue Mar 29 21:41:14 2011
New Revision: 51196

URL: http://svn.reactos.org/svn/reactos?rev=51196&view=rev
Log:
[SHELL32]
- Fix compile warning (uninitialized use). Based on patch by Edijs Kolesnikovics <terminedijs at yahoo dot com> slightly modified by Aleksiej
See issue #6058 for more details.

Modified:
    trunk/reactos/dll/win32/shell32/shlfileop.c

Modified: trunk/reactos/dll/win32/shell32/shlfileop.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlfileop.c?rev=51196&r1=51195&r2=51196&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlfileop.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlfileop.c [iso-8859-1] Tue Mar 29 21:41:14 2011
@@ -584,7 +584,7 @@
 QueueFile(
     FILE_OPERATION_CONTEXT * Context)
 {
-    FILE_ENTRY * from, *to;
+    FILE_ENTRY * from, *too = NULL;
     BOOL bRet = FALSE;
 
     if (Context->Index >= Context->from->dwNumFiles)




More information about the Ros-diffs mailing list