diff options
Diffstat (limited to 'libio/memstream.c')
-rw-r--r-- | libio/memstream.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libio/memstream.c b/libio/memstream.c index e20b9c2250..f1e8d58456 100644 --- a/libio/memstream.c +++ b/libio/memstream.c @@ -112,8 +112,6 @@ _IO_mem_sync (_IO_FILE *fp) _IO_str_overflow (fp, '\0'); --fp->_IO_write_ptr; } - else - *fp->_IO_write_ptr = '\0'; *mp->bufloc = fp->_IO_write_base; *mp->sizeloc = fp->_IO_write_ptr - fp->_IO_write_base; |