[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/oscar/liboscar
From:       Pali Rohár <pali.rohar () gmail ! com>
Date:       2013-06-04 19:16:41
Message-ID: 20130604191641.9C374AC85D () svn ! kde ! org
[Download RAW message or body]

SVN commit 1356885 by pali:

Fix compile warnings in liboscar code

BUG: 293155
FIXED-IN: 4.11


 M  +0 -1      contactmanager.cpp  
 M  +1 -1      tasks/filetransfertask.cpp  
 M  +1 -1      tasks/sendmessagetask.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/oscar/liboscar/contactmanager.cpp #1356884:1356885
@@ -432,7 +432,6 @@
 bool ContactManager::newGroup( const OContact& group )
 {
 	//trying to find the group by its ID
-	QList<OContact>::iterator it, listEnd = d->contactList.end();
 	if ( findGroup( group.name() ).isValid() )
 		return false;
 
--- trunk/KDE/kdenetwork/kopete/protocols/oscar/liboscar/tasks/filetransfertask.cpp #1356884:1356885
@@ -815,7 +815,7 @@
 
 	for ( int i = first; i <= last; i++ )
 	{ //try ports in the range (default 5190-5199)
-		if( success = ( m_tcpServer->listen( QHostAddress::Any, i ) ) )
+		if( ( success = ( m_tcpServer->listen( QHostAddress::Any, i ) ) ) )
 		{
 			m_port = i;
 			break;
--- trunk/KDE/kdenetwork/kopete/protocols/oscar/liboscar/tasks/sendmessagetask.cpp #1356884:1356885
@@ -61,7 +61,7 @@
 	}
 
 	// Check Message to see what SNAC to use
-	int snacSubfamily = 0x0006;
+	WORD snacSubfamily = 0x0006;
 	if ( ( m_message.channel() == 2 ) && m_message.hasProperty( Oscar::Message::AutoResponse ) )
 	{ // an auto response is send for ack of channel 2 messages
 		kDebug(OSCAR_RAW_DEBUG) << "Sending SNAC 0x0B instead of 0x06 ";
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic