[NTOSKRNL] Do not compile unused code

This commit is contained in:
Jérôme Gardou 2020-10-23 11:30:42 +02:00
parent 6d8aafb6ce
commit 9b74e5ed4f

View file

@ -303,6 +303,7 @@ MmFinalizeSegment(PMM_SECTION_SEGMENT Segment)
ExFreePoolWithTag(Segment, TAG_MM_SECTION_SEGMENT);
}
#ifdef NEWCC
NTSTATUS
NTAPI
MmCreateCacheSection(PROS_SECTION_OBJECT *SectionObject,
@ -533,6 +534,7 @@ MmCreateCacheSection(PROS_SECTION_OBJECT *SectionObject,
*SectionObject = Section;
return STATUS_SUCCESS;
}
#endif
NTSTATUS
NTAPI