([TextCoder -decodeValueOfSimpleType:at:withName:]): Assert the data pointer.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@607 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1995-09-11 00:38:27 +00:00
parent 70909b23de
commit 41ddf10f66

View file

@ -26,6 +26,7 @@
#include <objects/MemoryStream.h> #include <objects/MemoryStream.h>
#include <objects/StdioStream.h> #include <objects/StdioStream.h>
#include <objects/objc-malloc.h> #include <objects/objc-malloc.h>
#include <assert.h>
#define CONCRETE_FORMAT_VERSION 0 #define CONCRETE_FORMAT_VERSION 0
@ -133,6 +134,7 @@ if (debug_textcoder) \
{ {
char *tmpname; char *tmpname;
assert (d);
switch (*type) switch (*type)
{ {
case _C_LNG: case _C_LNG: