mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 17:41:05 +00:00
([NSDictionary -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1537 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
74c318c8e7
commit
2b7d80a77c
1 changed files with 12 additions and 10 deletions
|
@ -182,10 +182,12 @@ static Class NSMutableDictionary_concrete_class;
|
||||||
id desc;
|
id desc;
|
||||||
id keyenum = [self keyEnumerator];
|
id keyenum = [self keyEnumerator];
|
||||||
id key;
|
id key;
|
||||||
int i;
|
|
||||||
desc = [NSMutableString stringWithCapacity: 2];
|
desc = [NSMutableString stringWithCapacity: 2];
|
||||||
[desc appendString: @"{"];
|
[desc appendString: @"{"];
|
||||||
while(key = [keyenum nextObject]) { /* I wish appendString: returned self*/
|
while((key = [keyenum nextObject]))
|
||||||
|
{
|
||||||
|
/* I wish appendString: returned self*/
|
||||||
[desc appendString: [key description]];
|
[desc appendString: [key description]];
|
||||||
[desc appendString: @" = "];
|
[desc appendString: @" = "];
|
||||||
[desc appendString: [[self objectForKey: key] description]];
|
[desc appendString: [[self objectForKey: key] description]];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue