summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-29 15:37:28 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-29 15:37:28 -0800
commita09b94eff726f2390fc9300883cba7cd429af5d3 (patch)
tree29edcb3d9afd44bbfe73bacd704722f65799b44d
parent1ce9515685408241495d7c6929bb37cb694d9006 (diff)
CID-305
Checker: UNINIT_CTOR Function: LLSrvRecord::LLSrvRecord(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned int) File: /indra/llmessage/llares.cpp
-rw-r--r--indra/llmessage/llares.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/llares.cpp b/indra/llmessage/llares.cpp
index b29eb300fc..00e77d20e9 100644
--- a/indra/llmessage/llares.cpp
+++ b/indra/llmessage/llares.cpp
@@ -704,7 +704,11 @@ bail:
}
LLSrvRecord::LLSrvRecord(const std::string &name, unsigned ttl)
- : LLHostRecord(RES_SRV, name, ttl)
+ : LLHostRecord(RES_SRV, name, ttl),
+
+ mPriority(0),
+ mWeight(0),
+ mPort(0)
{
}