This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 608f267  DISPATCH-2198: Additional fix. Added (void)written to 
snd_data_callback to fix compiler error
608f267 is described below

commit 608f2674c31dd85f7e5e52170edc7e0ce9f74333
Author: Ganesh Murthy <gmur...@apache.org>
AuthorDate: Mon Jul 26 09:54:04 2021 -0400

    DISPATCH-2198: Additional fix. Added (void)written to snd_data_callback to 
fix compiler error
---
 src/adaptors/http2/http2_adaptor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/adaptors/http2/http2_adaptor.c 
b/src/adaptors/http2/http2_adaptor.c
index b5d5f61..19ed791 100644
--- a/src/adaptors/http2/http2_adaptor.c
+++ b/src/adaptors/http2/http2_adaptor.c
@@ -627,7 +627,7 @@ static int snd_data_callback(nghttp2_session *session,
         qd_http2_buffer_insert(http2_buff, HTTP2_DATA_FRAME_HEADER_LENGTH);
         pn_raw_buffer_t pn_raw_buffs[stream_data->qd_buffers_to_send];
         int written = 
qd_message_stream_data_buffers(stream_data->curr_stream_data, pn_raw_buffs, 
stream_data->curr_stream_data_qd_buff_offset, stream_data->qd_buffers_to_send);
-
+        (void)written;
         assert (written == stream_data->qd_buffers_to_send);
 
         int idx = 0;

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to