summaryrefslogtreecommitdiffstats
path: root/build/external/patches/quicly_0.1.3-vpp/0003-unused-is-late-ack.patch
blob: 10c14dab86b03a89084c51353b6340609d767b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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) {