aboutsummaryrefslogtreecommitdiff
path: root/lib/vauth
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-20 16:14:15 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-21 09:02:40 +0100
commit46e852ce26f0f5eeea54a6cac4680dc6a3315f73 (patch)
treea2b4f22e33322d948b0ba918c8e68e3ad9fa239d /lib/vauth
parent2f81e48c006cba02299167fd4cbd98d44bc7549f (diff)
ntlm: remove unnecessary NULL-check to please scan-build
Diffstat (limited to 'lib/vauth')
-rw-r--r--lib/vauth/ntlm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vauth/ntlm.c b/lib/vauth/ntlm.c
index 50d922208..1e0d4792e 100644
--- a/lib/vauth/ntlm.c
+++ b/lib/vauth/ntlm.c
@@ -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 */