undo commit "tests: prevent compiler warning when comparing floats"
This commit is contained in:
parent
2ae5c4a645
commit
52c077c5ac
4
tests.c
4
tests.c
@ -682,8 +682,6 @@ START_TEST(test_minmea_rescale)
|
||||
}
|
||||
END_TEST
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wfloat-equal"
|
||||
/* The float values used in tests should be exactly representable under IEEE754;
|
||||
* false negatives will occur otherwise. */
|
||||
|
||||
@ -705,8 +703,6 @@ START_TEST(test_minmea_coord)
|
||||
}
|
||||
END_TEST
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
static Suite *minmea_suite(void)
|
||||
{
|
||||
Suite *s = suite_create ("minmea");
|
||||
|
Loading…
Reference in New Issue
Block a user