summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-29 15:09:19 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-29 15:09:19 -0800
commit86d07360f6eb58dda55c3673c863b8c9701b3d32 (patch)
treed1102caed82bbd41498c9b7c773e7f57783a068f
parentee82ed694c85330d88712e92ee5d28685144f680 (diff)
CID-316
Checker: UNINIT_CTOR Function: LLHTTPAssetRequest::LLHTTPAssetRequest(LLHTTPAssetStorage *, const LLUUID &, LLAssetType::EType, LLAssetStorage::ERequestType, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, void *) File: /indra/llmessage/llhttpassetstorage.cpp
-rw-r--r--indra/llmessage/llhttpassetstorage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/llhttpassetstorage.cpp b/indra/llmessage/llhttpassetstorage.cpp
index 49dbdbd56d..1980735bbb 100644
--- a/indra/llmessage/llhttpassetstorage.cpp
+++ b/indra/llmessage/llhttpassetstorage.cpp
@@ -126,8 +126,9 @@ LLHTTPAssetRequest::LLHTTPAssetRequest(LLHTTPAssetStorage *asp,
const std::string& url,
CURLM *curl_multi)
: LLAssetRequest(uuid, type),
- mZInitialized(false)
+ mZInitialized(false)
{
+ memset(&mZStream, 0, sizeof(mZStream)); // we'll initialize this later, but for now zero the whole C-style struct to avoid debug/coverity noise
mAssetStoragep = asp;
mCurlHandle = NULL;
mCurlMultiHandle = curl_multi;