Skip to content

Commit 8e49c48

Browse files
authored
Fix Xcode 14.3 RC warnings (#11194)
1 parent 19ed789 commit 8e49c48

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

FirebaseRemoteConfig/Sources/RCNConfigDBManager.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
static NSString *const RCNRemoteConfigStorageSubDirectory = @"Google/RemoteConfig";
4040

4141
/// Remote Config database path for deprecated V0 version.
42-
static NSString *RemoteConfigPathForOldDatabaseV0() {
42+
static NSString *RemoteConfigPathForOldDatabaseV0(void) {
4343
NSArray *dirPaths =
4444
NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
4545
NSString *docPath = dirPaths.firstObject;
@@ -97,7 +97,7 @@ static BOOL RemoteConfigCreateFilePathIfNotExist(NSString *filePath) {
9797
return YES;
9898
}
9999

100-
static NSArray *RemoteConfigMetadataTableColumnsInOrder() {
100+
static NSArray *RemoteConfigMetadataTableColumnsInOrder(void) {
101101
return @[
102102
RCNKeyBundleIdentifier, RCNKeyNamespace, RCNKeyFetchTime, RCNKeyDigestPerNamespace,
103103
RCNKeyDeviceContext, RCNKeyAppContext, RCNKeySuccessFetchTime, RCNKeyFailureFetchTime,

FirebaseRemoteConfig/Sources/RCNDevice.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@
3333
static NSString *const RCNDeviceContextKeyLocaleLanguage = @"locale_language";
3434
static NSString *const RCNDeviceContextKeyGMPProjectIdentifier = @"GMP_project_Identifier";
3535

36-
NSString *FIRRemoteConfigAppVersion() {
36+
NSString *FIRRemoteConfigAppVersion(void) {
3737
return [[NSBundle mainBundle] infoDictionary][@"CFBundleShortVersionString"];
3838
}
3939

40-
NSString *FIRRemoteConfigAppBuildVersion() {
40+
NSString *FIRRemoteConfigAppBuildVersion(void) {
4141
return [[NSBundle mainBundle] infoDictionary][@"CFBundleVersion"];
4242
}
4343

44-
NSString *FIRRemoteConfigPodVersion() {
44+
NSString *FIRRemoteConfigPodVersion(void) {
4545
return FIRFirebaseVersion();
4646
}
4747

48-
RCNDeviceModel FIRRemoteConfigDeviceSubtype() {
48+
RCNDeviceModel FIRRemoteConfigDeviceSubtype(void) {
4949
NSString *model = [GULAppEnvironmentUtil deviceModel];
5050
if ([model hasPrefix:@"iPhone"]) {
5151
return RCNDeviceModelPhone;
@@ -56,7 +56,7 @@ RCNDeviceModel FIRRemoteConfigDeviceSubtype() {
5656
return RCNDeviceModelOther;
5757
}
5858

59-
NSString *FIRRemoteConfigDeviceCountry() {
59+
NSString *FIRRemoteConfigDeviceCountry(void) {
6060
return [[[NSLocale currentLocale] objectForKey:NSLocaleCountryCode] lowercaseString];
6161
}
6262

0 commit comments

Comments
 (0)