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
1 changed files with 1 additions and 2 deletions

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 */