Commit ef4e98db authored by Felix Paul Kühne's avatar Felix Paul Kühne

Remove write-only variables

parent 93190839
......@@ -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 {
......
Markdown is supported
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