[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/protocols/messenger/libpapillon
From: Duncan Mac-Vicar Prett <duncan () kde ! org>
Date: 2007-03-18 13:20:15
Message-ID: 1174224015.135452.18898.nullmailer () svn ! kde ! org
[Download RAW message or body]
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") )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic