]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/http: silence -Wunused-result for debug_openssl
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 20 Jan 2020 12:19:45 +0000 (13:19 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 21 Jan 2020 16:20:40 +0000 (17:20 +0100)
modules/http/debug_opensslkeylog.c

index 6ce15473f1c7ad839033f8aa0589ab2c0ed8d649..a409e123f8619ddd5bd941f301ead6c72f210db3 100644 (file)
@@ -1,7 +1,4 @@
 /*
-
-:q
-
  * Dumps master keys for OpenSSL clients to file. The format is documented at
  * https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format
  * Supports TLS 1.3 when used with OpenSSL 1.1.1.
@@ -71,6 +68,7 @@ static int keylog_file_fd = -1;
 #define PREFIX_LEN  (sizeof(PREFIX) - 1)
 
 #pragma GCC diagnostic ignored "-Wpedantic"
+#pragma GCC diagnostic ignored "-Wunused-result"
 
 static inline void put_hex(char *buffer, int pos, char c)
 {