([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:
mccallum 1996-03-18 13:53:13 +00:00
parent c391b55f7c
commit 46c691f3dc

View file

@ -125,7 +125,6 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
- initWithCoder: aCoder - initWithCoder: aCoder
{ {
MutableCString *n;
unsigned cap; unsigned cap;
[aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL]; [aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL];
@ -135,7 +134,7 @@ stringDecrementCountAndFillHoleAt(MutableCStringStruct *self,
_count = strlen(_contents_chars); _count = strlen(_contents_chars);
_capacity = cap; _capacity = cap;
_free_contents = YES; _free_contents = YES;
return n; return self;
} }
/* Empty copy must empty an allocCopy'ed version of self */ /* Empty copy must empty an allocCopy'ed version of self */