Author: akhaldi
Date: Thu Aug 25 17:23:31 2011
New Revision: 53445
URL:
http://svn.reactos.org/svn/reactos?rev=53445&view=rev
Log:
[NEWCC]
* Fix rbuild build with NEWCC=0
Modified:
branches/arty-newcc/ntoskrnl/mm/section.c
Modified: branches/arty-newcc/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/arty-newcc/ntoskrnl/mm/section.…
==============================================================================
--- branches/arty-newcc/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ branches/arty-newcc/ntoskrnl/mm/section.c [iso-8859-1] Thu Aug 25 17:23:31 2011
@@ -4750,7 +4750,9 @@
IN MMFLUSH_TYPE FlushType)
{
BOOLEAN Result = TRUE;
+#ifdef NEWCC
PMM_SECTION_SEGMENT Segment;
+#endif
switch(FlushType)
{
@@ -5000,7 +5002,7 @@
IO_STATUS_BLOCK Iosb;
NTSTATUS Status;
CHAR Buffer;
- LARGE_INTEGER ByteOffset = {0};
+ LARGE_INTEGER ByteOffset;
Status = ZwReadFile
(FileHandle,
NULL,