diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-31 12:20:41 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-10-31 13:45:08 (GMT) |
commit | 0dfdaad6e7cd45cb8b233acb3c453bf800966d8e (patch) | |
tree | 451e91adf56a420a20dafda8ba8ec6174739d3d3 /Swift | |
parent | ba9f38b5236a649355ea3db43e104ae001a6325e (diff) | |
download | swift-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
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/Contact.cpp | 2 |
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) { |