]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ntlm: (void) typecast msnprintf() where we ignore return code
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 May 2022 06:13:09 +0000 (08:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 May 2022 06:13:48 +0000 (08:13 +0200)
Follow-up to 5a41abef6, to please Coverity

lib/vauth/ntlm.c

index 16238ac8d8b0aaf4289b64134f17f41b15233bb6..b1b17000980769563d37b2f6eb2f346298ae2332 100644 (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