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") )