From a6bcc1204a3e6bbc7f0f7ce1d5df66df0824b5c2 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius <daniel.bevenius@gmail.com> Date: Fri, 25 Oct 2019 08:44:54 +0200 Subject: [PATCH] Remove unused assert.h includes --- lib/ngtcp2_cc.c | 1 - lib/ngtcp2_gaptr.c | 1 - lib/ngtcp2_str.c | 1 - tests/ngtcp2_conv_test.c | 1 - tests/ngtcp2_crypto_test.c | 1 - tests/ngtcp2_pkt_test.c | 1 - 6 files changed, 6 deletions(-) diff --git a/lib/ngtcp2_cc.c b/lib/ngtcp2_cc.c index 3a0a7d8a..384916b7 100644 --- a/lib/ngtcp2_cc.c +++ b/lib/ngtcp2_cc.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_cc.h" -#include <assert.h> #include "ngtcp2_log.h" #include "ngtcp2_macro.h" diff --git a/lib/ngtcp2_gaptr.c b/lib/ngtcp2_gaptr.c index cdbecd1d..b4b6ce06 100644 --- a/lib/ngtcp2_gaptr.c +++ b/lib/ngtcp2_gaptr.c @@ -25,7 +25,6 @@ #include "ngtcp2_gaptr.h" #include <string.h> -#include <assert.h> #include "ngtcp2_macro.h" diff --git a/lib/ngtcp2_str.c b/lib/ngtcp2_str.c index 4223a0ff..4d0b9b41 100644 --- a/lib/ngtcp2_str.c +++ b/lib/ngtcp2_str.c @@ -25,7 +25,6 @@ #include "ngtcp2_str.h" #include <string.h> -#include <assert.h> void *ngtcp2_cpymem(void *dest, const void *src, size_t n) { memcpy(dest, src, n); diff --git a/tests/ngtcp2_conv_test.c b/tests/ngtcp2_conv_test.c index 80b8d75f..c8094fcf 100644 --- a/tests/ngtcp2_conv_test.c +++ b/tests/ngtcp2_conv_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_conv_test.h" -#include <assert.h> #include <CUnit/CUnit.h> diff --git a/tests/ngtcp2_crypto_test.c b/tests/ngtcp2_crypto_test.c index 2ea41885..4acb6ea9 100644 --- a/tests/ngtcp2_crypto_test.c +++ b/tests/ngtcp2_crypto_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_crypto_test.h" -#include <assert.h> #include <CUnit/CUnit.h> diff --git a/tests/ngtcp2_pkt_test.c b/tests/ngtcp2_pkt_test.c index 3da67b49..6be4a647 100644 --- a/tests/ngtcp2_pkt_test.c +++ b/tests/ngtcp2_pkt_test.c @@ -24,7 +24,6 @@ */ #include "ngtcp2_pkt_test.h" -#include <assert.h> #include <CUnit/CUnit.h> -- GitLab