ntlm: (void) typecast msnprintf() where we ignore return code

Follow-up to 5a41abef6, to please Coverity
This commit is contained in:
Daniel Stenberg 2022-05-23 08:13:09 +02:00
parent 5a41abef6d
commit 216636a4ce
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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