From 216636a4cef2eb618d3923246e36d491d9e12ad3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 23 May 2022 08:13:09 +0200 Subject: [PATCH] ntlm: (void) typecast msnprintf() where we ignore return code Follow-up to 5a41abef6, to please Coverity --- lib/vauth/ntlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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