diff --git a/lib/ngtcp2_conn.c b/lib/ngtcp2_conn.c index f36e5f0f6069d91a909078713278e130c672d0f0..8a00fc0e6eb626f6bcd5106db5af178c97619ca1 100644 --- a/lib/ngtcp2_conn.c +++ b/lib/ngtcp2_conn.c @@ -4684,7 +4684,8 @@ fin: return NGTCP2_ERR_CLOSING; case NGTCP2_CS_DRAINING: return NGTCP2_ERR_DRAINING; - default: break; + default: + break; } return 0; @@ -7961,7 +7962,8 @@ ssize_t ngtcp2_conn_write_connection_close(ngtcp2_conn *conn, ngtcp2_path *path, case NGTCP2_CS_CLOSING: case NGTCP2_CS_DRAINING: return NGTCP2_ERR_INVALID_STATE; - default: break; + default: + break; } if (path) { @@ -8475,7 +8477,8 @@ int ngtcp2_conn_on_loss_detection_timer(ngtcp2_conn *conn, ngtcp2_tstamp ts) { case NGTCP2_CS_DRAINING: rcs->loss_detection_timer = 0; return 0; - default: break; + default: + break; } if (!rcs->loss_detection_timer) { diff --git a/tests/ngtcp2_conv_test.c b/tests/ngtcp2_conv_test.c index c8094fcf43153d0767abc41706122870ef65c0b0..28ee7ff7c02465495d2376a224732ce03c3555c3 100644 --- a/tests/ngtcp2_conv_test.c +++ b/tests/ngtcp2_conv_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_conv_test.h" - #include <CUnit/CUnit.h> #include "ngtcp2_conv.h" diff --git a/tests/ngtcp2_crypto_test.c b/tests/ngtcp2_crypto_test.c index 4acb6ea9314402f0179fc8507989719e8a1d622c..46d12951210e0e1f1003aabfb87d8067b90a0fde 100644 --- a/tests/ngtcp2_crypto_test.c +++ b/tests/ngtcp2_crypto_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_crypto_test.h" - #include <CUnit/CUnit.h> #include "ngtcp2_crypto.h" diff --git a/tests/ngtcp2_pkt_test.c b/tests/ngtcp2_pkt_test.c index 6be4a647e424c4119652506af8010f6e12915c19..8c0466763f70294c3ee064fc3ba5e74fec00386f 100644 --- a/tests/ngtcp2_pkt_test.c +++ b/tests/ngtcp2_pkt_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_pkt_test.h" - #include <CUnit/CUnit.h> #include "ngtcp2_pkt.h"