From: Tomas Krizek Date: Mon, 20 Jan 2020 12:19:45 +0000 (+0100) Subject: modules/http: silence -Wunused-result for debug_openssl X-Git-Tag: v5.0.0~3^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc371e31cac3c324b7bd1177922a5809ec986dc1;p=thirdparty%2Fknot-resolver.git modules/http: silence -Wunused-result for debug_openssl --- diff --git a/modules/http/debug_opensslkeylog.c b/modules/http/debug_opensslkeylog.c index 6ce15473f..a409e123f 100644 --- a/modules/http/debug_opensslkeylog.c +++ b/modules/http/debug_opensslkeylog.c @@ -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) {