Skip to content

Commit

Permalink
Fix clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Jan 19, 2016
1 parent ad1d22e commit bab80e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittest/writertest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ TEST(Writer, InvalidEventSequence) {
}
}

extern double zero; // clang -Wmissing-variable-declarations
double zero = 0.0; // Use global variable to prevent compiler warning

TEST(Writer, NaN) {
Expand Down

0 comments on commit bab80e7

Please sign in to comment.