commit 0e84b19aad4b58d31c8a9f685c351611cd161381
parent a098c2d3a391381a506f0055b5909bc5e50aaeb2
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 30 May 2026 23:57:46 +0200
remove dead code: both assignments are clobbered a few lines later without any read in between
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/mhd2/stream_process_reply.c b/src/mhd2/stream_process_reply.c
@@ -1348,7 +1348,6 @@ mhd_stream_prep_chunked_body (struct MHD_Connection *restrict c)
"than requested).");
return true;
}
- c->write_buffer_append_offset += filled;
}
else if (mhd_RESPONSE_CONTENT_DATA_FILE == r->cntn_dtype)
{
@@ -1358,8 +1357,6 @@ mhd_stream_prep_chunked_body (struct MHD_Connection *restrict c)
c->write_buffer + max_chunk_hdr_len,
&filled))
return true; /* Error, the stream is closed */
-
- c->write_buffer_append_offset += filled;
}
else
{