Skip to content

Commit 709e230

Browse files
committed
cleaned up some shadow variable warnings.
1 parent fc51142 commit 709e230

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

WYPopoverController/WYPopoverController.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,16 +2073,16 @@ - (void)dismissPopoverAnimated:(BOOL)aAnimated callDelegate:(BOOL)callDelegate o
20732073
if (aAnimated)
20742074
{
20752075
[UIView animateWithDuration:duration animations:^{
2076-
__typeof__(self) strongSelf = weakSelf;
2077-
strongSelf->overlayView.alpha = 0;
2078-
} completion:^(BOOL finished) {
2079-
__typeof__(self) strongSelf = weakSelf;
2076+
__typeof__(self) strongSelf1 = weakSelf;
2077+
strongSelf1->overlayView.alpha = 0;
2078+
} completion:^(BOOL finished1) {
2079+
__typeof__(self) strongSelf1 = weakSelf;
20802080

2081-
[strongSelf->containerView removeFromSuperview];
2082-
strongSelf->containerView = nil;
2081+
[strongSelf1->containerView removeFromSuperview];
2082+
strongSelf1->containerView = nil;
20832083

2084-
[strongSelf->overlayView removeFromSuperview];
2085-
strongSelf->overlayView = nil;
2084+
[strongSelf1->overlayView removeFromSuperview];
2085+
strongSelf1->overlayView = nil;
20862086
}];
20872087
}
20882088
else

0 commit comments

Comments
 (0)