diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-04 23:25:05 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-05 11:25:05 +0200 |
commit | 57ca46cdd74fd1004a3b0476c136e1f26fcf002d (patch) | |
tree | 667abaf831c064dccdca1743fc51cd6e3988c3d3 /lib/io/test/istream_read.c | |
parent | 540a3b511e3c299a241965f4d94511c7b89de0ec (diff) |
libio: istream_get_line: minor cleanup
Remove redundant initializations, reduce variable scope. At exist of
the function, try to shrink the buffer to the actual size if it got
trimmed.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/io/test/istream_read.c')
0 files changed, 0 insertions, 0 deletions