diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-12-03 11:58:13 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-12-03 11:58:13 +0000 |
commit | 743eb46fb998aa6deaaa2569b9ff84726ed286fe (patch) | |
tree | a63ee56f76c628e0a214a67a534512385eeea51f /uicache.mm | |
parent | 2618b3e95d753aea41a970219bee94cf006ec1f9 (diff) |
gcc -Wall -Werror
Diffstat (limited to 'uicache.mm')
-rw-r--r-- | uicache.mm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ int main(int argc, const char *argv[]) { NSString *plist = [path stringByAppendingPathComponent:@"Info.plist"]; if (NSMutableDictionary *info = [NSMutableDictionary dictionaryWithContentsOfFile:plist]) { - if (NSString *bundle = [info objectForKey:@"CFBundleIdentifier"]) { + if ([info objectForKey:@"CFBundleIdentifier"] != nil) { [bundles addObject:path]; [info setObject:path forKey:@"Path"]; [info setObject:@"System" forKey:@"ApplicationType"]; |