Skip to content

Commit

Permalink
Fix minor compilation issue introduced by #220
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb committed Nov 23, 2022
1 parent 52aca67 commit 7f90f7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2768,7 +2768,8 @@ class Benchmark {
fprintf(stdout, "------------------------------------------------\n");
}

void PrintWarnings(bool first_group, const char* compression) {
void PrintWarnings([[maybe_unused]] bool first_group,
const char* compression) {
#if defined(__GNUC__) && !defined(__OPTIMIZE__)
if (first_group) {
fprintf(
Expand Down

0 comments on commit 7f90f7b

Please sign in to comment.