From 935138374516ef723a00bd7327e1f0d2653dcb9d Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 20 Mar 2016 17:51:06 +0000 Subject: connect/ntlm/http: Fixed compilation warnings when verbose strings disabled warning C4189: 'data': local variable is initialized but not referenced --- lib/curl_ntlm_msgs.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/curl_ntlm_msgs.c') 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]); -- cgit v1.2.3