mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Fix for warning in in SUAppcast.m now tests for nil instead of using setValue:forKey:
This commit is contained in:
1 parent
53983d9452
commit
7892e41b27
1 file changed
+4
-1
Vendored
+4
-1
@@ -128,7 +128,10 @@
|
||||
if (!attrName) {
|
||||
continue;
|
||||
}
|
||||
[dictionary setValue:[attribute stringValue] forKey:attrName];
|
||||
NSString *stringValue = [attribute stringValue];
|
||||
if (stringValue) {
|
||||
[dictionary setObject:stringValue forKey:attrName];
|
||||
}
|
||||
}
|
||||
return dictionary;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user