Commit bab80e7c authored by Milo Yip's avatar Milo Yip

Fix clang warning

parent ad1d22eb
...@@ -376,6 +376,7 @@ TEST(Writer, InvalidEventSequence) { ...@@ -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 double zero = 0.0; // Use global variable to prevent compiler warning
TEST(Writer, NaN) { TEST(Writer, NaN) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment