mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +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");
|
||||
|
||||
#ifndef NDEBUG
|
||||
DumpBTreeNode(Node, 0, 0);
|
||||
DumpBTreeNode(Tree, Node, 0, 0);
|
||||
#endif
|
||||
|
||||
// Create the right hand sibling
|
||||
|
@ -2020,10 +2020,10 @@ SplitBTreeNode(PB_TREE Tree,
|
|||
|
||||
#ifndef NDEBUG
|
||||
DPRINT1("Left-hand node after split:\n");
|
||||
DumpBTreeNode(Node, 0, 0);
|
||||
DumpBTreeNode(Tree, Node, 0, 0);
|
||||
|
||||
DPRINT1("Right-hand sibling node after split:\n");
|
||||
DumpBTreeNode(*NewRightHandSibling, 0, 0);
|
||||
DumpBTreeNode(Tree, *NewRightHandSibling, 0, 0);
|
||||
#endif
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
|
|
@ -1128,10 +1128,11 @@ WCacheUpdatePacket(
|
|||
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
||||
BS) != BS);
|
||||
}
|
||||
if(mod)
|
||||
if(mod) {
|
||||
DbgCopyMemory(tmp_buff2 + (i << BSh),
|
||||
(PVOID)WCacheSectorAddr(block_array, Lba0),
|
||||
BS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -307,7 +307,7 @@ UDFPhWriteSynchronous(
|
|||
KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
|
||||
#endif //MEASURE_IO_PERFORMANCE
|
||||
|
||||
#if defined UDF_DBG || defined USE_PERF_PRINT
|
||||
#ifdef USE_PERF_PRINT
|
||||
ULONG Lba = (ULONG)(Offset>>0xb);
|
||||
// ASSERT(!(Lba & (32-1)));
|
||||
PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));
|
||||
|
|
Loading…
Reference in a new issue