Skip to content

Commit 840320c

Browse files
committed
[NTOS] Add missing brackets. Comment out some unused statements. CORE-11799 (reactos#94)
1 parent 5cb0615 commit 840320c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ntoskrnl/mm/pagefile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ MmGetOffsetPageFile(PRETRIEVAL_POINTERS_BUFFER RetrievalPointers, LARGE_INTEGER
210210
{
211211
const LARGE_INTEGER dummy =
212212
{
213-
0
213+
{0}
214214
};
215215
return dummy;
216216
}

ntoskrnl/wmi/smbios.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,11 @@ WmipQueryRawSMBiosTables(
256256
AllData->WnodeHeader.KernelHandle = NULL;
257257
//AllData->WnodeHeader.TimeStamp;
258258
AllData->WnodeHeader.Guid = MSSmBios_RawSMBiosTables_GUID;
259-
AllData->WnodeHeader.ClientContext;
259+
//AllData->WnodeHeader.ClientContext;
260260
AllData->WnodeHeader.Flags = WNODE_FLAG_FIXED_INSTANCE_SIZE;
261261
AllData->DataBlockOffset = sizeof(WNODE_ALL_DATA);
262262
AllData->InstanceCount = 1;
263-
AllData->OffsetInstanceNameOffsets;
263+
//AllData->OffsetInstanceNameOffsets;
264264
AllData->FixedInstanceSize = TableSize;
265265

266266
RtlCopyMemory(AllData + 1, TableData, TableSize);

0 commit comments

Comments
 (0)