mirror of
https://github.com/reactos/reactos.git
synced 2025-05-27 21:18:15 +00:00
[NTFS][UDFS] Fix build with NDEBUG undefined (#4171)
- Fix DumpBTreeNode() parameters in ntfs/btree.c - Comment out unused variable in env_spec.cpp - Fix missed brackets in else clause in wcache_lib.cpp
This commit is contained in:
parent
0fd3e51580
commit
9d33a2056e
3 changed files with 6 additions and 5 deletions
|
@ -1901,7 +1901,7 @@ SplitBTreeNode(PB_TREE Tree,
|
||||||
CaseSensitive ? "TRUE" : "FALSE");
|
CaseSensitive ? "TRUE" : "FALSE");
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
DumpBTreeNode(Node, 0, 0);
|
DumpBTreeNode(Tree, Node, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Create the right hand sibling
|
// Create the right hand sibling
|
||||||
|
@ -2020,10 +2020,10 @@ SplitBTreeNode(PB_TREE Tree,
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
DPRINT1("Left-hand node after split:\n");
|
DPRINT1("Left-hand node after split:\n");
|
||||||
DumpBTreeNode(Node, 0, 0);
|
DumpBTreeNode(Tree, Node, 0, 0);
|
||||||
|
|
||||||
DPRINT1("Right-hand sibling node after split:\n");
|
DPRINT1("Right-hand sibling node after split:\n");
|
||||||
DumpBTreeNode(*NewRightHandSibling, 0, 0);
|
DumpBTreeNode(Tree, *NewRightHandSibling, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
|
|
|
@ -1128,10 +1128,11 @@ WCacheUpdatePacket(
|
||||||
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
||||||
BS) != BS);
|
BS) != BS);
|
||||||
}
|
}
|
||||||
if(mod)
|
if(mod) {
|
||||||
DbgCopyMemory(tmp_buff2 + (i << BSh),
|
DbgCopyMemory(tmp_buff2 + (i << BSh),
|
||||||
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
||||||
BS);
|
BS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -307,7 +307,7 @@ UDFPhWriteSynchronous(
|
||||||
KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
|
KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
|
||||||
#endif //MEASURE_IO_PERFORMANCE
|
#endif //MEASURE_IO_PERFORMANCE
|
||||||
|
|
||||||
#if defined UDF_DBG || defined USE_PERF_PRINT
|
#ifdef USE_PERF_PRINT
|
||||||
ULONG Lba = (ULONG)(Offset>>0xb);
|
ULONG Lba = (ULONG)(Offset>>0xb);
|
||||||
// ASSERT(!(Lba & (32-1)));
|
// ASSERT(!(Lba & (32-1)));
|
||||||
PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));
|
PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));
|
||||||
|
|
Loading…
Reference in a new issue