ソースを参照

Remove write-only variables

(cherry picked from commit 9fb502f5319c9cfb04c367a441693ef5dfe1134c)
Felix Paul Kühne 7 年 前
コミット
f920f5a329

+ 0 - 1
Apple-TV/VLCSearchController.m

@@ -19,7 +19,6 @@
 }
 - (void)showViewController:(UIViewController *)vc sender:(id)sender
 {
-    UIViewController *presentingControllerController = self.presentingViewController;
     [self.presentingViewController showViewController:vc sender:sender];
     [self dismissViewControllerAnimated:YES completion:nil];
 }

+ 0 - 3
SharedSources/Clouds/VLCBoxCollectionViewController.m

@@ -198,9 +198,6 @@
 
 - (void)scrollViewDidScroll:(UIScrollView *)scrollView
 {
-    NSInteger currentOffset = scrollView.contentOffset.y;
-    NSInteger maximumOffset = scrollView.contentSize.height - scrollView.frame.size.height;
-
     if (_boxController.hasMoreFiles && !self.activityIndicator.isAnimating) {
         [self requestInformationForCurrentPath];
     }