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 @@
[connection cancel];
/* now ask VLC to stream the URL we were just passed */
VLCPlaybackController *vpc = [VLCPlaybackController sharedInstance];
VLCMedia *media = [VLCMedia mediaWithURL:theActualURL];
VLCMediaList *medialist = [[VLCMediaList alloc] init];
[medialist addMedia:media];
......@@ -70,7 +70,7 @@
NSString *filePath = [documentsPath stringByAppendingPathComponent:[url lastPathComponent]];
NSError *error = nil;
BOOL success = [fileManager moveItemAtPath:[url path] toPath:filePath error:&error];
[fileManager moveItemAtPath:[url path] toPath:filePath error:&error];
if (!error) {
[[VLCMediaFileDiscoverer sharedInstance] updateMediaList];
} 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