aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMDevLogUnitTestingBridge.m
diff options
context:
space:
mode:
Diffstat (limited to 'UnitTesting/GTMDevLogUnitTestingBridge.m')
-rw-r--r--UnitTesting/GTMDevLogUnitTestingBridge.m7
1 files changed, 0 insertions, 7 deletions
diff --git a/UnitTesting/GTMDevLogUnitTestingBridge.m b/UnitTesting/GTMDevLogUnitTestingBridge.m
index 11aee7d..88d4e93 100644
--- a/UnitTesting/GTMDevLogUnitTestingBridge.m
+++ b/UnitTesting/GTMDevLogUnitTestingBridge.m
@@ -31,10 +31,6 @@
//
// See GTMUnitTestDevLog.h for more information on checking logs in unittests.
//
-#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || defined (__clang__)
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
-#endif // Compiler version checks
void _GTMUnitTestDevLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2) {
Class devLogClass = NSClassFromString(@"GTMUnitTestDevLog");
va_list argList;
@@ -46,6 +42,3 @@ void _GTMUnitTestDevLog(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2) {
}
va_end(argList);
}
-#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2) || defined (__clang__)
-#pragma GCC diagnostic pop
-#endif // Compiler version checks