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:
CaS 2006-01-18 17:01:06 +00:00
parent 4769078463
commit fa016e1015

View file

@ -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;
}