https://git.reactos.org/?p=reactos.git;a=commitdiff;h=840320cbd175af0381d20…
commit 840320cbd175af0381d20fa3327de272b4878b64
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sat Oct 28 15:19:17 2017 +0100
[NTOS] Add missing brackets. Comment out some unused statements. CORE-11799 (#94)
---
ntoskrnl/mm/pagefile.c | 2 +-
ntoskrnl/wmi/smbios.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ntoskrnl/mm/pagefile.c b/ntoskrnl/mm/pagefile.c
index 7bc4c8a602..a30d920d22 100644
--- a/ntoskrnl/mm/pagefile.c
+++ b/ntoskrnl/mm/pagefile.c
@@ -210,7 +210,7 @@ MmGetOffsetPageFile(PRETRIEVAL_POINTERS_BUFFER RetrievalPointers,
LARGE_INTEGER
{
const LARGE_INTEGER dummy =
{
- 0
+ {0}
};
return dummy;
}
diff --git a/ntoskrnl/wmi/smbios.c b/ntoskrnl/wmi/smbios.c
index bea8b9e27c..8f353fd5b3 100644
--- a/ntoskrnl/wmi/smbios.c
+++ b/ntoskrnl/wmi/smbios.c
@@ -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);