From da0a4636bcd5fbaf2bdb89ddc24d1d6395d4a7a1 Mon Sep 17 00:00:00 2001 From: Tank Tang Date: Thu, 3 Sep 2020 16:01:18 +0800 Subject: [PATCH] Resolves valgrind issue. --- include/http/libcurl_http_client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/http/libcurl_http_client.h b/include/http/libcurl_http_client.h index 3725800..fd6cdbc 100644 --- a/include/http/libcurl_http_client.h +++ b/include/http/libcurl_http_client.h @@ -207,7 +207,7 @@ namespace azure { namespace storage_lite { bool m_is_input_length_known = false; std::function m_switch_error_callback; - http_code m_code; + http_code m_code = 0; std::map m_response_headers; AZURE_STORAGE_API static size_t header_callback(char *buffer, size_t size, size_t nitems, void *userdata);