mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-06 16:30:55 +00:00
Fix compiler warnings
Conflicts: Classes/HockeySDK.h
This commit is contained in:
@@ -36,7 +36,7 @@ typedef enum {
|
||||
BITCrashManagerStatusAlwaysAsk = 1,
|
||||
BITCrashManagerStatusAutoSend = 2
|
||||
} BITCrashManagerStatus;
|
||||
static NSString *kBITCrashManagerStatus = @"BITCrashManagerStatus";
|
||||
extern NSString *const kBITCrashManagerStatus;
|
||||
|
||||
|
||||
@protocol BITCrashManagerDelegate;
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
#define kBITCrashMetaUserEmail @"BITCrashMetaUserEmail"
|
||||
#define kBITCrashMetaApplicationLog @"BITCrashMetaApplicationLog"
|
||||
|
||||
NSString *const kBITCrashManagerStatus = @"BITCrashManagerStatus";
|
||||
|
||||
|
||||
@interface BITCrashManager ()
|
||||
|
||||
|
||||
@@ -52,8 +52,7 @@ typedef enum {
|
||||
BITCrashAPIReceivedEmptyResponse,
|
||||
BITCrashAPIErrorWithStatusCode
|
||||
} BITCrashErrorReason;
|
||||
static NSString *kBITCrashErrorDomain = @"BITCrashReporterErrorDomain";
|
||||
|
||||
extern NSString *const kBITCrashErrorDomain;
|
||||
|
||||
// Update App Versions
|
||||
|
||||
@@ -66,7 +65,7 @@ typedef enum {
|
||||
BITUpdateAPIClientAuthorizationMissingSecret,
|
||||
BITUpdateAPIClientCannotCreateConnection
|
||||
} BITUpdateErrorReason;
|
||||
static NSString *kBITUpdateErrorDomain = @"BITUpdaterErrorDomain";
|
||||
extern NSString *const kBITUpdateErrorDomain;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#import "HockeySDKPrivate.h"
|
||||
#include <CommonCrypto/CommonDigest.h>
|
||||
|
||||
NSString *const kBITCrashErrorDomain = @"BITCrashReporterErrorDomain";
|
||||
NSString *const kBITUpdateErrorDomain = @"BITUpdaterErrorDomain";
|
||||
|
||||
// Load the framework bundle.
|
||||
NSBundle *BITHockeyBundle(void) {
|
||||
@@ -66,4 +68,4 @@ NSString *BITHockeyMD5(NSString *str) {
|
||||
result[12], result[13],
|
||||
result[14], result[15]
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user