diff --git a/AppFramework/DistantObject/GREYHostApplicationDistantObject.m b/AppFramework/DistantObject/GREYHostApplicationDistantObject.m index 7407b97da..3ec5daf20 100644 --- a/AppFramework/DistantObject/GREYHostApplicationDistantObject.m +++ b/AppFramework/DistantObject/GREYHostApplicationDistantObject.m @@ -84,7 +84,7 @@ static void InitiateCommunicationWithTest() { NSBundle *mainBundle = [NSBundle mainBundle]; NSArray *bundlePaths = [mainBundle pathsForResourcesOfType:@"bundle" inDirectory:@"EarlGreyHelperBundles"]; - BOOL success = NO; + __unused BOOL success = NO; NSError *error; for (NSString *bundlePath in bundlePaths) { NSBundle *bundle = [NSBundle bundleWithPath:bundlePath];