Skip to content

Commit aacbe22

Browse files
Merge pull request #209 from ParsePlatform/richardross.undefined.behavior
Fix a few minor undefined behavior issues.
2 parents 8065ff8 + 5dc43d8 commit aacbe22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Parse/Internal/Config/PFConfig_Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#import <Parse/PFConfig.h>
1313

14-
NSString *const PFConfigParametersRESTKey;
14+
extern NSString *const PFConfigParametersRESTKey;
1515

1616
@interface PFConfig (Private)
1717

Parse/Internal/Installation/CurrentInstallationController/PFCurrentInstallationController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ + (instancetype)controllerWithStorageType:(PFCurrentObjectStorageType)storageTyp
7878
- (BFTask *)getCurrentObjectAsync {
7979
@weakify(self);
8080
return [_dataTaskQueue enqueue:^BFTask *(BFTask *unused) {
81-
return [[[BFTask taskFromExecutor:[BFExecutor defaultExecutor] withBlock:^id(BFTask *task) {
81+
return [[[BFTask taskFromExecutor:[BFExecutor defaultExecutor] withBlock:^id {
8282
@strongify(self);
8383
if (self.currentInstallation) {
8484
return self.currentInstallation;

0 commit comments

Comments
 (0)