diff --git a/WYPopoverController/WYPopoverController.m b/WYPopoverController/WYPopoverController.m index 34ea4862..0ca72cc2 100644 --- a/WYPopoverController/WYPopoverController.m +++ b/WYPopoverController/WYPopoverController.m @@ -2936,7 +2936,7 @@ - (CGSize)sizeForRect:(CGRect)aRect #pragma mark Inline functions -static NSString* WYStringFromOrientation(NSInteger orientation) { +__unused static NSString* WYStringFromOrientation(NSInteger orientation) { NSString *result = @"Unknown"; switch (orientation) {