mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-09 11:09:32 +01:00
Fix clang warning
This commit is contained in:
parent
ad1d22eba5
commit
bab80e7cca
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user