diff --git a/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp b/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp index a74e9ce47a..f3211042e3 100644 --- a/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp +++ b/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp @@ -1014,6 +1014,7 @@ BlockAllocator::BitmapSize() const } +#ifdef DEBUG_ALLOCATION_GROUPS void BlockAllocator::_CheckGroup(int32 groupIndex) const { @@ -1083,6 +1084,7 @@ BlockAllocator::_CheckGroup(int32 groupIndex) const (int)group.fLargestLength, (int)largestStart, (int)largestLength); } } +#endif // DEBUG_ALLOCATION_GROUPS // #pragma mark - Bitmap validity checking