mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
remove unnused code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29698 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8769dd8b6f
commit
481dce9c15
1 changed files with 2 additions and 16 deletions
|
@ -2354,14 +2354,7 @@ static void GSStrMakeSpace(GSStr s, unsigned size)
|
|||
#if GS_WITH_GC
|
||||
s->_zone = GSAtomicMallocZone();
|
||||
#else
|
||||
if (object_getClass(s) == 0)
|
||||
{
|
||||
s->_zone = NSDefaultMallocZone();
|
||||
}
|
||||
else
|
||||
{
|
||||
s->_zone = GSObjCZone((NSString*)s);
|
||||
}
|
||||
s->_zone = GSObjCZone((NSString*)s);
|
||||
#endif
|
||||
}
|
||||
if (s->_flags.wide == 1)
|
||||
|
@ -2422,14 +2415,7 @@ static void GSStrWiden(GSStr s)
|
|||
#if GS_WITH_GC
|
||||
s->_zone = GSAtomicMallocZone();
|
||||
#else
|
||||
if (object_getClass(s) == 0)
|
||||
{
|
||||
s->_zone = NSDefaultMallocZone();
|
||||
}
|
||||
else
|
||||
{
|
||||
s->_zone = GSObjCZone((NSString*)s);
|
||||
}
|
||||
s->_zone = GSObjCZone((NSString*)s);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue