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);