Commit 6dbbeedf authored by Tobias's avatar Tobias Committed by Felix Paul Kühne

fix some static analyzer warnings

parent 93dfb055
......@@ -497,8 +497,7 @@
{
NSString *subtitlePath = @"";
NSString *fileName = [[fileURL lastPathComponent] stringByDeletingPathExtension];
NSMutableArray *listOfSubtitle = [[NSMutableArray alloc] init];
listOfSubtitle = [self _listOfSubtitle];
NSMutableArray *listOfSubtitle = [self _listOfSubtitle];
NSString *fileSub;
for (int count = 0; count < listOfSubtitle.count; count++) {
fileSub = [NSString stringWithFormat:@"%@", listOfSubtitle[count]];
......
......@@ -22,6 +22,7 @@
}
- (void)viewDidLoad {
[super viewDidLoad];
[self.statusLabel setText:NSLocalizedString(@"UPGRADING_LIBRARY", "")];
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
NSLog(@"migrating coredata");
......
......@@ -44,8 +44,7 @@
- (BOOL)isVLCMediaServer:(NSString *)adress port:(NSString *)port
{
NSMutableArray *mutableObjectList = [[NSMutableArray alloc] init];
mutableObjectList = [self VLCLibraryServerParser:adress port:port];
NSMutableArray *mutableObjectList = [self VLCLibraryServerParser:adress port:port];
if (mutableObjectList.count > 0) {
NSString *identifier = [[mutableObjectList objectAtIndex:0] objectForKey:@"identifier"];
if ([identifier isEqualToString:@"org.videolan.vlc-ios"])
......
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