Fix Compiler warning with -O2
authorAlex Ionescu <aionescu@gmail.com>
Wed, 4 Aug 2004 00:18:01 +0000 (00:18 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 4 Aug 2004 00:18:01 +0000 (00:18 +0000)
svn path=/trunk/; revision=10382

reactos/ntoskrnl/ob/security.c

index e1e9f06..08b2528 100644 (file)
@@ -157,10 +157,10 @@ NtQuerySecurityObject(IN HANDLE Handle,
   POBJECT_HEADER Header;
   PVOID Object;
   PSECURITY_DESCRIPTOR ObjectSd;
-  PSID Owner;
-  PSID Group;
-  PACL Dacl;
-  PACL Sacl;
+  PSID Owner = 0;
+  PSID Group = 0;
+  PACL Dacl = 0;
+  PACL Sacl = 0;
   ULONG OwnerLength = 0;
   ULONG GroupLength = 0;
   ULONG DaclLength = 0;