From 0dfdaad6e7cd45cb8b233acb3c453bf800966d8e Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Fri, 31 Oct 2014 13:20:41 +0100 Subject: Fix uninitialized member in Contact. Test-Information: Still builds with clang (3.6.0) under OS X (10.9.5). Change-Id: I56f53dbb3b16354f2afdde5abc1fed5cf0f85f51 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) { -- cgit v0.10.2-6-g49f6