Tidyups to avoid compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-03-07 11:19:34 +00:00
parent 13ae894cb9
commit f92b8f24ef
7 changed files with 25 additions and 23 deletions

View file

@ -1301,8 +1301,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
}
if ([writeInfo count] > 0)
{
id info = [writeInfo objectAtIndex: 0];
id operation = [info objectForKey: NotificationKey];
NSDictionary *info = [writeInfo objectAtIndex: 0];
id operation = [info objectForKey: NotificationKey];
if (operation == GSFileHandleConnectCompletionNotification)
{
@ -1350,8 +1350,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
}
if ([writeInfo count] > 0)
{
id info = [writeInfo objectAtIndex: 0];
id operation = [info objectForKey: NotificationKey];
NSDictionary *info = [writeInfo objectAtIndex: 0];
id operation = [info objectForKey: NotificationKey];
if (operation != GSFileHandleWriteCompletionNotification)
{