From 8cc45109d2a77637ae26fd9bd4cf23ef5c475cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 14 Oct 2008 22:58:21 +0000 Subject: [PATCH] * Fixed build when DEBUG_ALLOCATION_GROUPS is not defined, thanks Rene. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28115 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp | 2 ++ 1 file changed, 2 insertions(+) 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