Skip to content

Commit a1035d3

Browse files
committed
Fix static analyzer warning about options.
1 parent 2b3ff82 commit a1035d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ViewDeck/IIViewDeckController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ - (BOOL)openSideView:(IIViewDeckSide)side animated:(BOOL)animated duration:(NSTi
14191419

14201420
if (duration == DEFAULT_DURATION) duration = [self openSlideDuration:animated];
14211421

1422-
UIViewAnimationOptions options = UIViewAnimationOptionLayoutSubviews | UIViewAnimationOptionBeginFromCurrentState;
1422+
__block UIViewAnimationOptions options = UIViewAnimationOptionLayoutSubviews | UIViewAnimationOptionBeginFromCurrentState;
14231423

14241424
IIViewDeckControllerBlock finish = ^(IIViewDeckController *controller, BOOL success) {
14251425
if (!success) {

0 commit comments

Comments
 (0)