mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-25 04:47:55 +00:00
Fix nullability warning
This commit is contained in:
1 parent
87903c0d97
commit
7bfccc3898
1 file changed
+4
-1
Vendored
+4
-1
@@ -120,7 +120,10 @@
|
||||
if (!attrName) {
|
||||
continue;
|
||||
}
|
||||
[dictionary setObject:[attribute stringValue] forKey:attrName];
|
||||
NSString *attributeStringValue = [attribute stringValue];
|
||||
if (attributeStringValue != nil) {
|
||||
[dictionary setObject:attributeStringValue forKey:attrName];
|
||||
}
|
||||
}
|
||||
return dictionary;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user