mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Mostly tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4465 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
19496ceb7b
commit
13a0c075e4
46 changed files with 1406 additions and 1020 deletions
|
@ -30,7 +30,7 @@
|
|||
/*
|
||||
* Setup for inline operation of arrays.
|
||||
*/
|
||||
#define GSI_ARRAY_RETAIN(X) X
|
||||
#define GSI_ARRAY_RETAIN(X)
|
||||
#define GSI_ARRAY_RELEASE(X)
|
||||
#define GSI_ARRAY_TYPES GSUNION_OBJ|GSUNION_SEL|GSUNION_STR
|
||||
|
||||
|
@ -718,7 +718,6 @@ mapClassName(NSUnarchiverObjectInfo *info)
|
|||
else
|
||||
{
|
||||
unsigned size;
|
||||
NSData *dat;
|
||||
|
||||
if (GSIArrayCount(ptrMap) != xref)
|
||||
{
|
||||
|
@ -744,8 +743,6 @@ mapClassName(NSUnarchiverObjectInfo *info)
|
|||
|
||||
case _GSC_CHARPTR:
|
||||
{
|
||||
char *str;
|
||||
|
||||
typeCheck(*type, _GSC_CHARPTR);
|
||||
/*
|
||||
* Special case - a zero crossref value size is a nil pointer.
|
||||
|
@ -766,8 +763,6 @@ mapClassName(NSUnarchiverObjectInfo *info)
|
|||
}
|
||||
else
|
||||
{
|
||||
int length;
|
||||
|
||||
if (xref != GSIArrayCount(ptrMap))
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
|
@ -970,8 +965,7 @@ mapClassName(NSUnarchiverObjectInfo *info)
|
|||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Decoding data object with unknown type"];
|
||||
}
|
||||
else
|
||||
return [NSData data];
|
||||
return [NSData data];
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue