1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38:49 -05:00

ntlm: remove unnecessary NULL-check to please scan-build

This commit is contained in:
Daniel Stenberg 2017-11-20 16:14:15 +01:00
parent 2f81e48c00
commit 46e852ce26
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -543,8 +543,7 @@ CURLcode Curl_auth_create_ntlm_type3_message(struct Curl_easy *data,
else
user = userp;
if(user)
userlen = strlen(user);
userlen = strlen(user);
/* Get the machine's un-qualified host name as NTLM doesn't like the fully
qualified domain name */