From 47a3882f5374efb297e8e7d504795dff8735bc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 17:56:36 +0200 Subject: Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 403970a02a6ffc16072080a0356745111a6483a8) --- kmyfirewall/core/iptchain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmyfirewall/core/iptchain.cpp b/kmyfirewall/core/iptchain.cpp index fdacdac..c377d1b 100644 --- a/kmyfirewall/core/iptchain.cpp +++ b/kmyfirewall/core/iptchain.cpp @@ -173,7 +173,7 @@ IPTRule* IPTChain::addRule( const TQString& rule_name, KMFError *err, int index KMFError* IPTChain::delRule( IPTRule* rule ) { kdDebug() << "KMFError* IPTChain::delRule( IPTRule* rule )" << endl; if ( m_ruleset.count() < 1 ) - return false; + return 0; TQString name = rule->name(); if ( m_ruleset.find( rule ) != -1 ) { -- cgit v1.2.1