From: Daniel Stenberg Date: Mon, 23 May 2022 06:13:09 +0000 (+0200) Subject: ntlm: (void) typecast msnprintf() where we ignore return code X-Git-Tag: curl-7_84_0~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=216636a4cef2eb618d3923246e36d491d9e12ad3;p=thirdparty%2Fcurl.git ntlm: (void) typecast msnprintf() where we ignore return code Follow-up to 5a41abef6, to please Coverity --- diff --git a/lib/vauth/ntlm.c b/lib/vauth/ntlm.c index 16238ac8d8..b1b1700098 100644 --- a/lib/vauth/ntlm.c +++ b/lib/vauth/ntlm.c @@ -536,7 +536,7 @@ CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data, hostlen = strlen(host); } #else - msnprintf(host, sizeof(host), "%s", NTLM_HOSTNAME); + (void)msnprintf(host, sizeof(host), "%s", NTLM_HOSTNAME); hostlen = sizeof(NTLM_HOSTNAME)-1; #endif