summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-31 12:20:41 (GMT)
committerSwift Review <review@swift.im>2014-10-31 13:45:08 (GMT)
commit0dfdaad6e7cd45cb8b233acb3c453bf800966d8e (patch)
tree451e91adf56a420a20dafda8ba8ec6174739d3d3
parentba9f38b5236a649355ea3db43e104ae001a6325e (diff)
downloadswift-0dfdaad6e7cd45cb8b233acb3c453bf800966d8e.zip
swift-0dfdaad6e7cd45cb8b233acb3c453bf800966d8e.tar.bz2
Fix uninitialized member in Contact.
Test-Information: Still builds with clang (3.6.0) under OS X (10.9.5). Change-Id: I56f53dbb3b16354f2afdde5abc1fed5cf0f85f51
-rw-r--r--Swift/Controllers/Contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Contact.cpp b/Swift/Controllers/Contact.cpp
index be2b83a..b3e27f1 100644
--- a/Swift/Controllers/Contact.cpp
+++ b/Swift/Controllers/Contact.cpp
@@ -10,7 +10,7 @@
namespace Swift {
-Contact::Contact() {
+Contact::Contact() : statusType(StatusShow::None) {
}
Contact::Contact(const std::string& name, const JID& jid, StatusShow::Type statusType, const boost::filesystem::path& path) : name(name), jid(jid), statusType(statusType), avatarPath(path) {