cvs: php4 /main/streams memory.c

From: Date: Mon, 24 Feb 2003 23:13:40 +0000
Subject: cvs: php4 /main/streams memory.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19160@lists.php.net to get a copy of this message
moriyoshi Mon Feb 24 18:13:40 2003 EDT Modified files: /php4/main/streams memory.c Log: Removed unnecessary asserts Index: php4/main/streams/memory.c diff -u php4/main/streams/memory.c:1.2 php4/main/streams/memory.c:1.3 --- php4/main/streams/memory.c:1.2 Wed Feb 19 03:40:19 2003 +++ php4/main/streams/memory.c Mon Feb 24 18:13:40 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: memory.c,v 1.2 2003/02/19 08:40:19 sniper Exp $ */ +/* $Id: memory.c,v 1.3 2003/02/24 23:13:40 moriyoshi Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -215,7 +215,6 @@ php_stream *stream; self = emalloc(sizeof(*self)); - assert(self != NULL); self->data = NULL; self->fpos = 0; self->fsize = 0; @@ -432,7 +431,6 @@ php_stream *stream; self = ecalloc(1, sizeof(*self)); - assert(self != NULL); self->smax = max_memory_usage; self->mode = mode; stream = php_stream_alloc(&php_stream_temp_ops, self, 0, "r+b");

« previous php.cvs (#19160) next »