Commit 19be5cec authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Carola
Browse files

Remove write-only variables

(cherry picked from commit ef4e98db)
parent d6a65f10
...@@ -220,7 +220,6 @@ ...@@ -220,7 +220,6 @@
[connection cancel]; [connection cancel];
/* now ask VLC to stream the URL we were just passed */ /* now ask VLC to stream the URL we were just passed */
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
VLCMedia *media = [VLCMedia mediaWithURL:theActualURL]; VLCMedia *media = [VLCMedia mediaWithURL:theActualURL];
VLCMediaList *medialist = [[VLCMediaList alloc] init]; VLCMediaList *medialist = [[VLCMediaList alloc] init];
[medialist addMedia:media]; [medialist addMedia:media];
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
NSString *filePath = [documentsPath stringByAppendingPathComponent:[url lastPathComponent]]; NSString *filePath = [documentsPath stringByAppendingPathComponent:[url lastPathComponent]];
NSError *error = nil; NSError *error = nil;
BOOL success = [fileManager moveItemAtPath:[url path] toPath:filePath error:&error]; [fileManager moveItemAtPath:[url path] toPath:filePath error:&error];
if (!error) { if (!error) {
[[VLCMediaFileDiscoverer sharedInstance] updateMediaList]; [[VLCMediaFileDiscoverer sharedInstance] updateMediaList];
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment