From 67a78e98cca704e513fa66398ac144e1bb88305f Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 28 Apr 2012 11:58:30 -0500 Subject: [PATCH] GCC 4.7 fixes. (cherry picked from commit 88d2d2a710b7d065eb2c29b045f076ac6968e7aa) --- kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp index 0e32e99..6916cfd 100644 --- a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp +++ b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp @@ -312,7 +312,7 @@ void KMFGenericInterfaceProtocol::slotProtocolClicked( KMFProtocolUsage* protUsa m_zone, i18n("Add protocol %1 to zone %2.").arg( protUsage->protocol()->name() ).arg( m_zone->guiName() ) ); - KMFProtocolUsage * pro = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() ); + KMFProtocolUsage * prot = m_zone->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol()->getDOMTree() ); if ( pro ) { kdDebug() << "Added Protocol to zone: " << m_zone-> name() << endl; @@ -349,7 +349,7 @@ void KMFGenericInterfaceProtocol::slotProtocolClicked( KMFProtocolUsage* protUsa m_host, i18n("Add protocol %1 to host %2.").arg( protUsage->protocol()->name() ).arg( m_host->guiName() ) ); - KMFProtocolUsage * pro = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() ); + KMFProtocolUsage * prot = m_host->addProtocolUsage( protUsage->protocol()->uuid(), protUsage->protocol() ->getDOMTree() ); if ( pro ) { kdDebug() << "Added Protocol to host: " << m_host-> name() << endl;