mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Removed some old debug stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22330 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4769078463
commit
fa016e1015
1 changed files with 0 additions and 9 deletions
|
@ -1549,9 +1549,6 @@ tables:
|
|||
NSZoneFree(zone, ptr);
|
||||
}
|
||||
|
||||
if (dst)
|
||||
NSCAssert(*dst != buf, @"attempted to pass out pointer to internal buffer");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1700,9 +1697,7 @@ GSFromUnicode(unsigned char **dst, unsigned int *size, const unichar *src,
|
|||
unsigned int slen, NSStringEncoding enc, NSZone *zone,
|
||||
unsigned int options)
|
||||
{
|
||||
int g1 = 0;
|
||||
unsigned char buf[BUFSIZ];
|
||||
int g2 = 0;
|
||||
unsigned char *ptr;
|
||||
unsigned bsize;
|
||||
unsigned dpos = 0; // Offset into destination buffer.
|
||||
|
@ -2240,10 +2235,6 @@ tables:
|
|||
NSZoneFree(zone, ptr);
|
||||
}
|
||||
|
||||
if (dst)
|
||||
NSCAssert(*dst != buf, @"attempted to pass out pointer to internal buffer");
|
||||
NSCAssert(g1 == 0 && g2 == 0, @"internal buffer");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue