Fixed analyser warnings.

This commit is contained in:
Sam Deane committed 2015-05-28 19:57:22 +01:00
1 parent f16d3b2db0
commit 7ef22f25dd
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -194,7 +194,9 @@
else if (name != nil)
{
// add all other values as strings
[dict setObject:[[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] forKey:name];
id value = [[node stringValue] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
if (value)
[dict setObject:value forKey:name];
}
}
+1
View File
@@ -92,6 +92,7 @@ finally:
[relevantInfo setObject:[infoPlist objectForKey:@"CFBundleVersion"] forKey:@"build"];
CFRelease(signingInfo);
SULog(@"%@: %@", label, relevantInfo);
[relevantInfo release];
}
}