diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-02-27 13:05:22 +0100 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-02-27 13:05:22 +0100 |
commit | 727917555deb4dafe3b3bda9b1fd3c39b4e1677c (patch) | |
tree | df20758df99db0f4cb11a0c6b66fd5e5a05c2cd3 /lib | |
parent | a21cae5f97727ab357c8527b0a7dc8820e335012 (diff) |
digest_sspi: fix compilation warning
MSVC complains:
warning C4701: potentially uninitialized local variable 'output_token_len' used
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vauth/digest_sspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |