aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_msgs.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-20 17:51:06 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-20 17:51:06 +0000
commit935138374516ef723a00bd7327e1f0d2653dcb9d (patch)
treeeab460f8fb50ab6c7248b89c1c913a06122a8d21 /lib/curl_ntlm_msgs.c
parent89f397d7eb04c1baa7f3e04fcf7128ff1b5c7f2a (diff)
connect/ntlm/http: Fixed compilation warnings when verbose strings disabled
warning C4189: 'data': local variable is initialized but not referenced
Diffstat (limited to 'lib/curl_ntlm_msgs.c')
-rw-r--r--lib/curl_ntlm_msgs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c
index bf1aaf376..fc9547207 100644
--- a/lib/curl_ntlm_msgs.c
+++ b/lib/curl_ntlm_msgs.c
@@ -170,6 +170,10 @@ static CURLcode ntlm_decode_type2_target(struct SessionHandle *data,
unsigned short target_info_len = 0;
unsigned int target_info_offset = 0;
+#if defined(CURL_DISABLE_VERBOSE_STRINGS)
+ (void) data;
+#endif
+
if(size >= 48) {
target_info_len = Curl_read16_le(&buffer[40]);
target_info_offset = Curl_read32_le(&buffer[44]);