From e5f3edf0f19de53753fd6ccf0fd3e13c941e3630 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Fri, 15 Jan 2016 20:26:34 -0500 Subject: [PATCH] Eeschema: minor coding policy fix --- eeschema/erc.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eeschema/erc.cpp b/eeschema/erc.cpp index 750c012185..d1e3207eed 100644 --- a/eeschema/erc.cpp +++ b/eeschema/erc.cpp @@ -248,8 +248,7 @@ void Diagnose( NETLIST_OBJECT* aNetItemRef, NETLIST_OBJECT* aNetItemTst, if( aMinConn < 0 ) { - if( (aNetItemRef->m_Type == NET_HIERLABEL) - || (aNetItemRef->m_Type == NET_HIERBUSLABELMEMBER) ) + if( aNetItemRef->m_Type == NET_HIERLABEL || aNetItemRef->m_Type == NET_HIERBUSLABELMEMBER ) { msg.Printf( _( "Hierarchical label %s is not connected to a sheet label." ), GetChars( aNetItemRef->m_Label ) ); @@ -258,7 +257,7 @@ void Diagnose( NETLIST_OBJECT* aNetItemRef, NETLIST_OBJECT* aNetItemTst, msg, aNetItemRef->m_Start ); } - else if( (aNetItemRef->m_Type == NET_GLOBLABEL) ) + else if( aNetItemRef->m_Type == NET_GLOBLABEL ) { msg.Printf( _( "Global label %s is not connected to any other global label." ), GetChars( aNetItemRef->m_Label ) );