mirror of
https://github.com/Zygo/bees.git
synced 2025-06-15 09:16:34 +02:00
btrfs-tree: fix build on clang++16
The "loops" variable isn't read (only set) if not built with extra debug code. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -548,7 +548,7 @@ namespace crucible {
|
||||
#endif
|
||||
const uint64_t logical_end = logical + count * block_size();
|
||||
BtrfsTreeItem bti = rlower_bound(logical);
|
||||
size_t loops = 0;
|
||||
size_t __attribute__((unused)) loops = 0;
|
||||
BCTFGS_DEBUG("get_sums " << to_hex(logical) << ".." << to_hex(logical_end) << endl);
|
||||
while (!!bti) {
|
||||
BCTFGS_DEBUG("get_sums[" << loops << "]: " << bti << endl);
|
||||
|
Reference in New Issue
Block a user