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");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php