Reenable static analyser on every file due to a bug in Xcode 6.

Fixed a possible null deference.
This commit is contained in:
Damiano Galassi committed 2014-11-05 18:49:24 +01:00
1 parent e634d55575
commit 8870e8099a
2 files changed
+7 -5

No files matched your search

+3 -1
View File
@@ -700,7 +700,9 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
success = [self updateMP4FileWithAttributes:attributes error:outError];
} else {
success = NO;
*outError = MP42Error(@"The file could not be saved.", @"You do not have sufficient permissions for this operation.", 101);
if (outError) {
*outError = MP42Error(@"The file could not be saved.", @"You do not have sufficient permissions for this operation.", 101);
}
}
}