From 52c077c5acfe04e3fbf509e9790392ecd4bf0700 Mon Sep 17 00:00:00 2001 From: Evgueni Souleimanov Date: Tue, 17 Jun 2014 20:23:22 -0400 Subject: [PATCH] undo commit "tests: prevent compiler warning when comparing floats" --- tests.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests.c b/tests.c index 794d330..3365edf 100644 --- a/tests.c +++ b/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");