From 1878e6a7e46bd3e49e88f20bc0bf36e9606f4eff Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Sun, 18 Aug 2013 17:34:27 +0200 Subject: [PATCH] Remove some #warnings There surely will be someone integrating the SDK via source, use iOS 7 as base SDK and enabled to treat warnings as errors. --- Classes/BITAppStoreHeader.h | 3 --- Classes/BITHockeyBaseManager.m | 7 ------- Classes/BITStoreButton.h | 4 ---- 3 files changed, 14 deletions(-) diff --git a/Classes/BITAppStoreHeader.h b/Classes/BITAppStoreHeader.h index f3c5c42139..e1ad092bc2 100644 --- a/Classes/BITAppStoreHeader.h +++ b/Classes/BITAppStoreHeader.h @@ -35,9 +35,6 @@ #define __IPHONE_6_1 60100 #endif -#if __IPHONE_OS_VERSION_MIN_ALLOWED > __IPHONE_6_1 -#warning Remove the option to adjust the button style. We are now iOS 7 only. -#endif /** * Header style depending on the iOS version diff --git a/Classes/BITHockeyBaseManager.m b/Classes/BITHockeyBaseManager.m index 5cb22f618e..9b459ca79c 100644 --- a/Classes/BITHockeyBaseManager.m +++ b/Classes/BITHockeyBaseManager.m @@ -43,10 +43,6 @@ #import #endif -#if __IPHONE_OS_VERSION_MIN_ALLOWED > __IPHONE_6_0 -#warning The following ifndef can be removed -#endif - #ifndef __IPHONE_6_1 #define __IPHONE_6_1 60100 #endif @@ -104,9 +100,6 @@ return (_appIdentifier ? bit_URLEncodedString(_appIdentifier) : bit_URLEncodedString([self mainBundleIdentifier])); } -#if __IPHONE_OS_VERSION_MIN_ALLOWED > __IPHONE_6_1 -#warning Support for pre iOS 7 systems can be removed! -#endif - (BOOL)isPreiOS7Environment { static BOOL isPreiOS7Environment = YES; static dispatch_once_t checkOS; diff --git a/Classes/BITStoreButton.h b/Classes/BITStoreButton.h index 482534ef11..e68d53ea9d 100644 --- a/Classes/BITStoreButton.h +++ b/Classes/BITStoreButton.h @@ -52,10 +52,6 @@ #define __IPHONE_6_1 60100 #endif -#if __IPHONE_OS_VERSION_MIN_ALLOWED > __IPHONE_6_1 -#warning Remove the option to adjust the button style. We are now iOS 7 only. -#endif - /** * Button style depending on the iOS version */