summaryrefslogtreecommitdiffstats
path: root/build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch')
-rw-r--r--build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch b/build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch
new file mode 100644
index 00000000000..10c14dab86b
--- /dev/null
+++ b/build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/quicly.c b/lib/quicly.c
+index 82ba627..8c0163e 100644
+--- a/lib/quicly.c
++++ b/lib/quicly.c
+@@ -4713,7 +4713,7 @@ static int handle_ack_frame(quicly_conn_t *conn, struct st_quicly_handle_payload
+ /* process newly acked packet */
+ if (state->epoch != sent->ack_epoch)
+ return QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION;
+- int is_late_ack = 0;
++ int __attribute__((unused)) is_late_ack = 0;
+ if (sent->ack_eliciting) {
+ includes_ack_eliciting = 1;
+ if (sent->cc_bytes_in_flight == 0) {