diff --git a/EarlGrey/Core/EarlGreyImpl.h b/EarlGrey/Core/EarlGreyImpl.h index eefe22990..40b971481 100644 --- a/EarlGrey/Core/EarlGreyImpl.h +++ b/EarlGrey/Core/EarlGreyImpl.h @@ -106,7 +106,7 @@ typedef NS_ENUM(NSInteger, GREYKeyboardDismissalErrorCode) { * * @return A GREYElementInteraction instance, initialized with an appropriate matcher. */ -- (GREYElementInteraction *)selectElementWithMatcher:(id)elementMatcher; +- (GREYElementInteraction *)selectElementWithMatcher:(id)elementMatcher NS_WARN_UNUSED_RESULT; /** * Sets the global failure handler for all framework related failures.