mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Fix compiler warnings
This commit is contained in:
parent
8099d2ad3c
commit
a47c4b1bfd
@ -39,7 +39,7 @@ typedef enum {
|
|||||||
BITCrashManagerStatusAlwaysAsk = 1,
|
BITCrashManagerStatusAlwaysAsk = 1,
|
||||||
BITCrashManagerStatusAutoSend = 2
|
BITCrashManagerStatusAutoSend = 2
|
||||||
} BITCrashManagerStatus;
|
} BITCrashManagerStatus;
|
||||||
static NSString *kBITCrashManagerStatus = @"BITCrashManagerStatus";
|
extern NSString *const kBITCrashManagerStatus;
|
||||||
|
|
||||||
|
|
||||||
@protocol BITCrashManagerDelegate;
|
@protocol BITCrashManagerDelegate;
|
||||||
|
@ -51,6 +51,8 @@
|
|||||||
#define kBITCrashMetaUserID @"BITCrashMetaUserID"
|
#define kBITCrashMetaUserID @"BITCrashMetaUserID"
|
||||||
#define kBITCrashMetaApplicationLog @"BITCrashMetaApplicationLog"
|
#define kBITCrashMetaApplicationLog @"BITCrashMetaApplicationLog"
|
||||||
|
|
||||||
|
NSString *const kBITCrashManagerStatus = @"BITCrashManagerStatus";
|
||||||
|
|
||||||
|
|
||||||
@interface BITCrashManager ()
|
@interface BITCrashManager ()
|
||||||
|
|
||||||
|
@ -58,8 +58,7 @@ typedef enum {
|
|||||||
BITCrashAPIReceivedEmptyResponse,
|
BITCrashAPIReceivedEmptyResponse,
|
||||||
BITCrashAPIErrorWithStatusCode
|
BITCrashAPIErrorWithStatusCode
|
||||||
} BITCrashErrorReason;
|
} BITCrashErrorReason;
|
||||||
static NSString *kBITCrashErrorDomain = @"BITCrashReporterErrorDomain";
|
extern NSString *const kBITCrashErrorDomain;
|
||||||
|
|
||||||
|
|
||||||
// Update App Versions
|
// Update App Versions
|
||||||
|
|
||||||
@ -72,7 +71,7 @@ typedef enum {
|
|||||||
BITUpdateAPIClientAuthorizationMissingSecret,
|
BITUpdateAPIClientAuthorizationMissingSecret,
|
||||||
BITUpdateAPIClientCannotCreateConnection
|
BITUpdateAPIClientCannotCreateConnection
|
||||||
} BITUpdateErrorReason;
|
} BITUpdateErrorReason;
|
||||||
static NSString *kBITUpdateErrorDomain = @"BITUpdaterErrorDomain";
|
extern NSString *const kBITUpdateErrorDomain;
|
||||||
|
|
||||||
|
|
||||||
// Update App Versions
|
// Update App Versions
|
||||||
@ -86,7 +85,7 @@ typedef enum {
|
|||||||
BITFeedbackAPIClientAuthorizationMissingSecret,
|
BITFeedbackAPIClientAuthorizationMissingSecret,
|
||||||
BITFeedbackAPIClientCannotCreateConnection
|
BITFeedbackAPIClientCannotCreateConnection
|
||||||
} BITFeedbackErrorReason;
|
} BITFeedbackErrorReason;
|
||||||
static NSString *kBITFeedbackErrorDomain = @"BITFeedbackErrorDomain";
|
extern NSString *const kBITFeedbackErrorDomain;
|
||||||
|
|
||||||
|
|
||||||
// HockeySDK
|
// HockeySDK
|
||||||
@ -96,7 +95,7 @@ typedef enum {
|
|||||||
BITHockeyErrorUnknown,
|
BITHockeyErrorUnknown,
|
||||||
HockeyAPIClientMissingJSONLibrary
|
HockeyAPIClientMissingJSONLibrary
|
||||||
} BITHockeyErrorReason;
|
} BITHockeyErrorReason;
|
||||||
static NSString *kBITHockeyErrorDomain = @"BITHockeyErrorDomain";
|
NSString *kBITHockeyErrorDomain = @"BITHockeyErrorDomain";
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
#import "HockeySDKPrivate.h"
|
#import "HockeySDKPrivate.h"
|
||||||
#include <CommonCrypto/CommonDigest.h>
|
#include <CommonCrypto/CommonDigest.h>
|
||||||
|
|
||||||
|
NSString *const kBITCrashErrorDomain = @"BITCrashReporterErrorDomain";
|
||||||
|
NSString *const kBITUpdateErrorDomain = @"BITUpdaterErrorDomain";
|
||||||
|
NSString *const kBITFeedbackErrorDomain = @"BITFeedbackErrorDomain";
|
||||||
|
|
||||||
// Load the framework bundle.
|
// Load the framework bundle.
|
||||||
NSBundle *BITHockeyBundle(void) {
|
NSBundle *BITHockeyBundle(void) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user