Przeglądaj źródła

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

Evgueni Souleimanov 11 lat temu
rodzic
commit
52c077c5ac
1 zmienionych plików z 0 dodań i 4 usunięć
  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");