mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
53beb40301
commit
3c1d2307c6
1 changed files with 2 additions and 16 deletions
|
@ -2354,14 +2354,7 @@ static void GSStrMakeSpace(GSStr s, unsigned size)
|
||||||
#if GS_WITH_GC
|
#if GS_WITH_GC
|
||||||
s->_zone = GSAtomicMallocZone();
|
s->_zone = GSAtomicMallocZone();
|
||||||
#else
|
#else
|
||||||
if (object_getClass(s) == 0)
|
s->_zone = GSObjCZone((NSString*)s);
|
||||||
{
|
|
||||||
s->_zone = NSDefaultMallocZone();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
s->_zone = GSObjCZone((NSString*)s);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (s->_flags.wide == 1)
|
if (s->_flags.wide == 1)
|
||||||
|
@ -2422,14 +2415,7 @@ static void GSStrWiden(GSStr s)
|
||||||
#if GS_WITH_GC
|
#if GS_WITH_GC
|
||||||
s->_zone = GSAtomicMallocZone();
|
s->_zone = GSAtomicMallocZone();
|
||||||
#else
|
#else
|
||||||
if (object_getClass(s) == 0)
|
s->_zone = GSObjCZone((NSString*)s);
|
||||||
{
|
|
||||||
s->_zone = NSDefaultMallocZone();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
s->_zone = GSObjCZone((NSString*)s);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue