mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
avoid a few compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35867 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
17bdc5cfe2
commit
66364a9465
4 changed files with 11 additions and 11 deletions
|
@ -2303,18 +2303,10 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step,
|
|||
}
|
||||
else
|
||||
{
|
||||
NSString *cls;
|
||||
|
||||
if (obj == nil)
|
||||
if (nil == obj)
|
||||
{
|
||||
obj = @"(nil)";
|
||||
cls = @"(nil)";
|
||||
}
|
||||
else
|
||||
{
|
||||
cls = NSStringFromClass([obj class]);
|
||||
}
|
||||
|
||||
if (x == NSPropertyListXMLFormat_v1_0)
|
||||
{
|
||||
[dest appendBytes: "<string>" length: 8];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue