aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-03 20:15:25 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-03 20:23:43 +0200
commit37a9a22eee01eae170049c95d628c33f75ab8efa (patch)
tree4861d3d4818031ac0c1727c891c3151d38ea457e /lib
parentd72643ce152b97c359095373df30c164b272d7a1 (diff)
coverity: fix: remove dead code
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/io/src/xfrm/ostream.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/io/src/xfrm/ostream.c b/lib/io/src/xfrm/ostream.c
index c035f2a..2b42084 100644
--- a/lib/io/src/xfrm/ostream.c
+++ b/lib/io/src/xfrm/ostream.c
@@ -51,13 +51,6 @@ static int flush_inbuf(ostream_xfrm_t *xfrm, bool finish)
break;
}
- if (off_out > 0) {
- ret = xfrm->wrapped->append(xfrm->wrapped,
- xfrm->outbuf, off_out);
- if (ret)
- return ret;
- }
-
if (off_in < avail_in) {
memmove(xfrm->inbuf, xfrm->inbuf + off_in, avail_in - off_in);
xfrm->inbuf_used -= off_in;