From 61b8b9e69d8609fecaaaa7d2c9e32808bc5e98cb Mon Sep 17 00:00:00 2001 From: Eric Lewis Date: Tue, 4 Jun 2019 11:49:44 -0400 Subject: [PATCH] Fix unused method signature --- React/Base/RCTModuleMethod.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/React/Base/RCTModuleMethod.mm b/React/Base/RCTModuleMethod.mm index 14963b19a639a6..12a5b197ce2bf3 100644 --- a/React/Base/RCTModuleMethod.mm +++ b/React/Base/RCTModuleMethod.mm @@ -91,6 +91,7 @@ static BOOL RCTParseSelectorPart(const char **input, NSMutableString *selector) static BOOL RCTParseUnused(const char **input) { return RCTReadString(input, "__attribute__((unused))") || + RCTReadString(input, "__attribute__((__unused__))") || RCTReadString(input, "__unused"); }