Fix a warning

Fix a compiler warning when only building for simulator
This commit is contained in:
Andreas Linde
2015-02-12 15:30:15 +01:00
parent 06f73f10d3
commit 7331eff2d6

View File

@@ -741,7 +741,8 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:BITHockeyLocalizedString(@"UpdateWarning") message:BITHockeyLocalizedString(@"UpdateSimulatorMessage") delegate:nil cancelButtonTitle:BITHockeyLocalizedString(@"HockeyOK") otherButtonTitles:nil];
[alert show];
return NO;
#endif
#else
NSString *extraParameter = [NSString string];
if (_sendUsageData && self.installationIdentification && self.installationIdentificationType) {
@@ -761,6 +762,8 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
_didStartUpdateProcess = success;
return success;
#endif
}