diff options
Diffstat (limited to 'main')
| -rwxr-xr-x | main/streams/streams.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index 984eac9f0a..70f4c46daf 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1198,10 +1198,6 @@ PHPAPI size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen int min_room = CHUNK_SIZE / 4; php_stream_statbuf ssbuf; - if (buf) { - *buf = NULL; - } - if (maxlen == 0) { return 0; } |
