[NTOS] Add missing brackets. Comment out some unused statements. CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 14:19:17 +0000 (15:19 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 28 Oct 2017 14:19:17 +0000 (15:19 +0100)
ntoskrnl/mm/pagefile.c
ntoskrnl/wmi/smbios.c

index 7bc4c8a..a30d920 100644 (file)
@@ -210,7 +210,7 @@ MmGetOffsetPageFile(PRETRIEVAL_POINTERS_BUFFER RetrievalPointers, LARGE_INTEGER
     {
         const LARGE_INTEGER dummy =
         {
-            0
+            {0}
         };
         return dummy;
     }
index bea8b9e..8f353fd 100644 (file)
@@ -256,11 +256,11 @@ WmipQueryRawSMBiosTables(
         AllData->WnodeHeader.KernelHandle = NULL;
         //AllData->WnodeHeader.TimeStamp;
         AllData->WnodeHeader.Guid = MSSmBios_RawSMBiosTables_GUID;
-        AllData->WnodeHeader.ClientContext;
+        //AllData->WnodeHeader.ClientContext;
         AllData->WnodeHeader.Flags = WNODE_FLAG_FIXED_INSTANCE_SIZE;
         AllData->DataBlockOffset = sizeof(WNODE_ALL_DATA);
         AllData->InstanceCount = 1;
-        AllData->OffsetInstanceNameOffsets;
+        //AllData->OffsetInstanceNameOffsets;
         AllData->FixedInstanceSize = TableSize;
 
         RtlCopyMemory(AllData + 1, TableData, TableSize);