From kde-commits Sun Mar 18 13:20:15 2007 From: Duncan Mac-Vicar Prett Date: Sun, 18 Mar 2007 13:20:15 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/protocols/messenger/libpapillon Message-Id: <1174224015.135452.18898.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=117422395610360 SVN commit 643809 by dmacvicar: may be used uninitialized in this function M +1 -1 papillonglobal.cpp M +1 -1 tasks/notifypresencetask.cpp --- trunk/KDE/kdenetwork/kopete/protocols/messenger/libpapillon/papillonglobal.cpp #643808:643809 @@ -58,7 +58,7 @@ Papillon::Presence::Status stringToPresence(const QString &status) { - Papillon::Presence::Status presence; + Papillon::Presence::Status presence = Presence::Offline; if( status == QLatin1String("AWY") ) presence = Presence::Away; --- trunk/KDE/kdenetwork/kopete/protocols/messenger/libpapillon/tasks/notifypresencetask.cpp #643808:643809 @@ -48,7 +48,7 @@ if( forMe(transfer) ) { QString contactId; - Papillon::Presence::Status newPresence; + Papillon::Presence::Status newPresence = Presence::Offline; // ILN is initial presence and NLN normal presence change. if( transfer->command() == QLatin1String("NLN") || transfer->command() == QLatin1String("ILN") )