Skip to content

Commit

Permalink
yet another unused variable spotted during mac build, but not fixed i…
Browse files Browse the repository at this point in the history
…n 9.7
  • Loading branch information
matthewvon committed Dec 20, 2024
1 parent 6055511 commit 5419a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/version_set.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3113,7 +3113,7 @@ void VersionStorageInfo::SetFinalized() {
assert(MaxBytesForLevel(level) >= max_bytes_prev_level);
max_bytes_prev_level = MaxBytesForLevel(level);
}
int num_empty_non_l0_level = 0;
[[maybe_unused]]int num_empty_non_l0_level = 0;
for (int level = 0; level < num_levels(); level++) {
assert(LevelFiles(level).size() == 0 ||
LevelFiles(level).size() == LevelFilesBrief(level).num_files);
Expand Down

0 comments on commit 5419a9a

Please sign in to comment.