[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:
Ronny Borchert 2021-12-17 23:21:01 +01:00 committed by Hermès Bélusca-Maïto
parent 0fd3e51580
commit 9d33a2056e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 6 additions and 5 deletions

View file

@ -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;