[ros-diffs] [weiden] 29988: fix compilation with full optimizations

weiden at svn.reactos.org weiden at svn.reactos.org
Tue Oct 30 23:03:37 CET 2007


Author: weiden
Date: Wed Oct 31 01:03:37 2007
New Revision: 29988

URL: http://svn.reactos.org/svn/reactos?rev=29988&view=rev
Log:
fix compilation with full optimizations

Modified:
    trunk/reactos/lib/rtl/sd.c

Modified: trunk/reactos/lib/rtl/sd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/sd.c?rev=29988&r1=29987&r2=29988&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/sd.c (original)
+++ trunk/reactos/lib/rtl/sd.c Wed Oct 31 01:03:37 2007
@@ -138,8 +138,8 @@
 RtlCopySecurityDescriptor(IN PSECURITY_DESCRIPTOR pSourceSecurityDescriptor,
                           OUT PSECURITY_DESCRIPTOR pDestinationSecurityDescriptor)
 {
-  PSID Owner, Group;
-  PACL Dacl, Sacl;
+  PSID Owner = NULL, Group = NULL;
+  PACL Dacl = NULL, Sacl = NULL;
   BOOLEAN Defaulted, Present;
   DWORD OwnerLength, GroupLength;
   PSECURITY_DESCRIPTOR srcSD = pSourceSecurityDescriptor;




More information about the Ros-diffs mailing list