([BinaryCStream -decodeName:]): Check for NULL name.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@864 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-26 20:34:42 +00:00
parent 8c3c74e514
commit 1cb0268da2

View file

@ -329,9 +329,11 @@ static BOOL debug_binary_coder;
- (void) decodeName: (id <String> *)n
{
#if 1
*n = nil;
if (n)
*n = nil;
#else
*n = [[[NSString alloc] init] autorelease];
if (n)
*n = [[[NSString alloc] init] autorelease];
#endif
}