gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 13/205: digest_sspi: fix compilation warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 13/205: digest_sspi: fix compilation warning
Date: Thu, 20 Apr 2017 16:19:13 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 727917555deb4dafe3b3bda9b1fd3c39b4e1677c
Author: Marcel Raad <address@hidden>
AuthorDate: Mon Feb 27 13:05:22 2017 +0100

    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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]