summaryrefslogtreecommitdiff
path: root/indra/llmessage/lltransfertargetfile.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-03 20:18:22 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-03 20:18:22 +0000
commiteab2f01b19b3a2ce46b2d44935097747a3eefadb (patch)
tree0372e1944f7fa0f883b102c66782956b4c8ee426 /indra/llmessage/lltransfertargetfile.h
parent4e73292e2ce7dcbce17e5edaa4ff10beeea01a51 (diff)
CID-278
Checker: UNINIT_CTOR Function: LLTransferTargetParamsFile::LLTransferTargetParamsFile() File: /indra/llmessage/lltransfertargetfile.h
Diffstat (limited to 'indra/llmessage/lltransfertargetfile.h')
-rw-r--r--indra/llmessage/lltransfertargetfile.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llmessage/lltransfertargetfile.h b/indra/llmessage/lltransfertargetfile.h
index 18b9b52062..92fb8f807c 100644
--- a/indra/llmessage/lltransfertargetfile.h
+++ b/indra/llmessage/lltransfertargetfile.h
@@ -40,7 +40,12 @@ typedef void (*LLTTFCompleteCallback)(const LLTSCode status, void *user_data);
class LLTransferTargetParamsFile : public LLTransferTargetParams
{
public:
- LLTransferTargetParamsFile() : LLTransferTargetParams(LLTTT_FILE) {}
+ LLTransferTargetParamsFile()
+ : LLTransferTargetParams(LLTTT_FILE),
+
+ mCompleteCallback(NULL),
+ mUserData(NULL)
+ {}
void setFilename(const std::string& filename) { mFilename = filename; }
void setCallback(LLTTFCompleteCallback cb, void *user_data) { mCompleteCallback = cb; mUserData = user_data; }