Explorar o código

undo commit "tests: prevent compiler warning when comparing floats"

Evgueni Souleimanov %!s(int64=11) %!d(string=hai) anos
pai
achega
52c077c5ac
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      tests.c

+ 0 - 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");