From 929cbbb7fc8e3ddd6a4983b89dd5799fa0fffb17 Mon Sep 17 00:00:00 2001 From: Stuart Reilly Date: Fri, 12 Jul 2019 15:59:11 +0100 Subject: Add compiler warnings and fix them --- src/lib/protocols/http.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/lib/protocols/http.c') diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index de2bb032e..1f5b88c7a 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -425,10 +425,6 @@ static struct l_string { STATIC_STRING_L("REPORT ") }; static const char *http_fs = "CDGHOPR"; -static uint8_t non_ctrl(uint8_t c) { - return c < 32 ? '.':c; -} - static u_int16_t http_request_url_offset(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { struct ndpi_packet_struct *packet = &flow->packet; -- cgit v1.2.3