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

Fixed compilation warnings

parent 2ff95733
......@@ -46,7 +46,7 @@
- (void)cancelAllFileParse
{
MLLog(@"Cancelling file parsing");
NSLog(@"Cancelling file parsing");
for (MLFile *file in _parsedFiles)
file.isBeingParsed = NO;
[_parsedFiles removeAllObjects];
......
......@@ -44,7 +44,7 @@
{
NSAssert(!_media, @"We are already parsing");
MLLog(@"Starting parsing %@", self.file);
NSLog(@"Starting parsing %@", self.file);
[[MLCrashPreventer sharedPreventer] willParseFile:self.file];
_media = [[VLCMedia mediaWithURL:[NSURL URLWithString:self.file.url]] retain];
......@@ -144,7 +144,7 @@ static inline NSString *hashFromFile(MLFile *file)
if ([_fileDescriptionToOperation objectForKey:hashFromFile(file)])
return;
if (![[MLCrashPreventer sharedPreventer] isFileSafe:file]) {
MLLog(@"%@ is unsafe and will crash, ignoring", file);
NSLog(@"%@ is unsafe and will crash, ignoring", file);
return;
}
MLParsingOperation *op = [[MLParsingOperation alloc] initWithFile:file];
......
......@@ -44,7 +44,7 @@
- (void)fetchThumbnail
{
MLLog(@"Starting THUMB %@", self.file);
NSLog(@"Starting THUMB %@", self.file);
[[MLCrashPreventer sharedPreventer] willParseFile:self.file];
......
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