]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
dog debug: ignore -Wpedantic to unblock CI
authorVladimír Čunát <vcunat@gmail.com>
Wed, 23 Oct 2019 13:18:51 +0000 (15:18 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 20 Nov 2019 12:17:39 +0000 (13:17 +0100)
It would be cumbersome to explicitly cast all those void*
to correct function types.

modules/http/debug_opensslkeylog.c

index 7d2bf3a493f2bdb2822d3aeee7fd53f127898c19..6ce15473f1c7ad839033f8aa0589ab2c0ed8d649 100644 (file)
@@ -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;