Skip to content

Commit

Permalink
Remove warning on unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
0x8000-0000 committed Dec 16, 2018
1 parent 840fa46 commit cbf38f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/format-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1917,6 +1917,7 @@ TEST(FormatTest, Enum) {

TEST(FormatTest, EnumFormatterUnambiguous) {
fmt::formatter<TestEnum> f;
ASSERT_GE(sizeof(f), 0); // use f to avoid compiler warning
}

#if FMT_HAS_FEATURE(cxx_strong_enums)
Expand Down

0 comments on commit cbf38f3

Please sign in to comment.