mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
([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:
parent
64ec73254f
commit
87d468ad30
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#include <objects/MemoryStream.h>
|
||||
#include <objects/StdioStream.h>
|
||||
#include <objects/objc-malloc.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define CONCRETE_FORMAT_VERSION 0
|
||||
|
||||
|
@ -133,6 +134,7 @@ if (debug_textcoder) \
|
|||
{
|
||||
char *tmpname;
|
||||
|
||||
assert (d);
|
||||
switch (*type)
|
||||
{
|
||||
case _C_LNG:
|
||||
|
|
Loading…
Reference in a new issue