mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix fred's suggestions. Put guard and make more general method the one which is called.
This commit is contained in:
parent
be8980dfb4
commit
a0f50deb64
1 changed files with 1 additions and 10 deletions
|
@ -436,16 +436,7 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
{
|
||||
NSData *d = nil;
|
||||
|
||||
if (requiresSecureCoding == YES)
|
||||
{
|
||||
if (error != NULL)
|
||||
{
|
||||
*error = [NSError errorWithDomain: @"NSKeyedArchiver"
|
||||
code: 0
|
||||
userInfo: nil];
|
||||
}
|
||||
}
|
||||
else
|
||||
if (requiresSecureCoding == NO)
|
||||
{
|
||||
NSMutableData *m = nil;
|
||||
NSKeyedArchiver *a = nil;
|
||||
|
|
Loading…
Reference in a new issue