From 727917555deb4dafe3b3bda9b1fd3c39b4e1677c Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 27 Feb 2017 13:05:22 +0100 Subject: digest_sspi: fix compilation warning MSVC complains: warning C4701: potentially uninitialized local variable 'output_token_len' used --- lib/vauth/digest_sspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vauth/digest_sspi.c b/lib/vauth/digest_sspi.c index 15f3d8c14..a6eea5ca6 100644 --- a/lib/vauth/digest_sspi.c +++ b/lib/vauth/digest_sspi.c @@ -412,7 +412,7 @@ CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data, size_t token_max; char *resp; BYTE *output_token; - size_t output_token_len; + size_t output_token_len = 0; PSecPkgInfo SecurityPackage; SecBuffer chlg_buf[5]; SecBufferDesc chlg_desc; -- cgit v1.2.3