Skip to content

Commit

Permalink
[iOS] fix crash upon launched after upgrade to Xcode 11
Browse files Browse the repository at this point in the history
  • Loading branch information
HakimHauston committed Dec 15, 2019
1 parent bd5bdb6 commit 072c760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-native/React/Base/RCTModuleMethod.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ static BOOL RCTParseSelectorPart(const char **input, NSMutableString *selector)
static BOOL RCTParseUnused(const char **input)
{
return RCTReadString(input, "__unused") ||
RCTReadString(input, "__attribute__((__unused__))") ||
RCTReadString(input, "__attribute__((unused))");
}

Expand Down

0 comments on commit 072c760

Please sign in to comment.