From 4fffd147f2183f55930ebe257f21d4964e489424 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Tue, 7 Jul 2015 18:38:49 +0200 Subject: [PATCH] Fix one warning. --- pcbnew/router/pns_optimizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/router/pns_optimizer.cpp b/pcbnew/router/pns_optimizer.cpp index f4ef9d1060..25a60fe237 100644 --- a/pcbnew/router/pns_optimizer.cpp +++ b/pcbnew/router/pns_optimizer.cpp @@ -145,7 +145,7 @@ struct PNS_OPTIMIZER::CACHE_VISITOR bool operator()( PNS_ITEM* aOtherItem ) { - if( !m_mask & aOtherItem->Kind() ) + if( !( m_mask & aOtherItem->Kind() ) ) return true; int clearance = m_node->GetClearance( aOtherItem, m_ourItem );