From: Vladimír Čunát Date: Wed, 23 Oct 2019 13:18:51 +0000 (+0200) Subject: dog debug: ignore -Wpedantic to unblock CI X-Git-Tag: v4.3.0~8^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e001c84b6a80c634e48481efde0fe88d71a77b;p=thirdparty%2Fknot-resolver.git dog debug: ignore -Wpedantic to unblock CI It would be cumbersome to explicitly cast all those void* to correct function types. --- diff --git a/modules/http/debug_opensslkeylog.c b/modules/http/debug_opensslkeylog.c index 7d2bf3a49..6ce15473f 100644 --- a/modules/http/debug_opensslkeylog.c +++ b/modules/http/debug_opensslkeylog.c @@ -70,6 +70,8 @@ static int keylog_file_fd = -1; #define PREFIX "CLIENT_RANDOM " #define PREFIX_LEN (sizeof(PREFIX) - 1) +#pragma GCC diagnostic ignored "-Wpedantic" + static inline void put_hex(char *buffer, int pos, char c) { unsigned char c1 = ((unsigned char) c) >> 4;