mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
([MutableCString -initWithCoder:]): Remove unused variable n. Return
self, not n. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1161 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c391b55f7c
commit
46c691f3dc
1 changed files with 1 additions and 2 deletions
|
@ -125,7 +125,6 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
|
|||
|
||||
- initWithCoder: aCoder
|
||||
{
|
||||
MutableCString *n;
|
||||
unsigned cap;
|
||||
|
||||
[aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL];
|
||||
|
@ -135,7 +134,7 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
|
|||
_count = strlen(_contents_chars);
|
||||
_capacity = cap;
|
||||
_free_contents = YES;
|
||||
return n;
|
||||
return self;
|
||||
}
|
||||
|
||||
/* Empty copy must empty an allocCopy'ed version of self */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue