diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-18 16:40:23 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-18 16:40:23 +0100 |
commit | 9ec6392d809a5dbecaa66c373e2307f62bdf42e8 (patch) | |
tree | bcae17a5a34c2f63fabbcc65aa6a2f182b95b8c6 /main | |
parent | fd36b089cfb0ccf23f63d4c0ad26a617c9a4aaaf (diff) | |
download | php-git-9ec6392d809a5dbecaa66c373e2307f62bdf42e8.tar.gz |
Remove unused smax member from memory stream
Diffstat (limited to 'main')
-rw-r--r-- | main/streams/memory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c index 0def3b1a3d..bc8f7b9983 100644 --- a/main/streams/memory.c +++ b/main/streams/memory.c @@ -36,7 +36,6 @@ typedef struct { char *data; size_t fpos; size_t fsize; - size_t smax; int mode; } php_stream_memory_data; @@ -304,7 +303,6 @@ PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC) self->data = NULL; self->fpos = 0; self->fsize = 0; - self->smax = ~0u; self->mode = mode; stream = php_stream_alloc_rel(&php_stream_memory_ops, self, 0, _php_stream_mode_to_str(mode)); |