Remove unused vars
This commit is contained in:
parent
1e1aedbe30
commit
63295cfb9e
|
@ -273,7 +273,7 @@ bool DATABASE_CONNECTION::getQuoteChar()
|
||||||
|
|
||||||
wxLogTrace( traceDatabase, wxT( "Quote char retrieved: %c" ), m_quoteChar );
|
wxLogTrace( traceDatabase, wxT( "Quote char retrieved: %c" ), m_quoteChar );
|
||||||
}
|
}
|
||||||
catch( nanodbc::database_error& e )
|
catch( nanodbc::database_error& )
|
||||||
{
|
{
|
||||||
wxLogTrace( traceDatabase, wxT( "Exception while querying quote char: %s" ), m_lastError );
|
wxLogTrace( traceDatabase, wxT( "Exception while querying quote char: %s" ), m_lastError );
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -138,7 +138,6 @@ std::string EDA_UNIT_UTILS::FormatInternalUnits( const EDA_IU_SCALE& aIuScale, i
|
||||||
{
|
{
|
||||||
std::string buf;
|
std::string buf;
|
||||||
double engUnits = aValue;
|
double engUnits = aValue;
|
||||||
int len;
|
|
||||||
|
|
||||||
engUnits /= aIuScale.IU_PER_MM;
|
engUnits /= aIuScale.IU_PER_MM;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ std::unique_ptr<NODE> MARKUP_PARSER::Parse()
|
||||||
auto root = parse_tree::parse<MARKUP::grammar, MARKUP::NODE, MARKUP::selector>( in );
|
auto root = parse_tree::parse<MARKUP::grammar, MARKUP::NODE, MARKUP::selector>( in );
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
catch ( tao::pegtl::parse_error& parseError )
|
catch ( tao::pegtl::parse_error& )
|
||||||
{
|
{
|
||||||
// couldn't parse text item
|
// couldn't parse text item
|
||||||
// TODO message to user?
|
// TODO message to user?
|
||||||
|
|
|
@ -26,6 +26,7 @@ class WX_GRID;
|
||||||
#include <wx/button.h>
|
#include <wx/button.h>
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
#include <wx/panel.h>
|
#include <wx/panel.h>
|
||||||
|
#include <wx/treebook.h>
|
||||||
#include <wx/simplebook.h>
|
#include <wx/simplebook.h>
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -208,7 +208,7 @@ void NETLIST_EXPORTER_SPICE::ReadDirectives( unsigned aNetlistOptions )
|
||||||
NETLIST_EXPORTER_SPICE_PARSER::control>
|
NETLIST_EXPORTER_SPICE_PARSER::control>
|
||||||
( in );
|
( in );
|
||||||
}
|
}
|
||||||
catch( const tao::pegtl::parse_error& e )
|
catch( const tao::pegtl::parse_error& )
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -547,7 +547,7 @@ bool SCH_FIELD::Matches( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) co
|
||||||
searchAndReplace = schSearchData.searchAndReplace;
|
searchAndReplace = schSearchData.searchAndReplace;
|
||||||
replaceReferences = schSearchData.replaceReferences;
|
replaceReferences = schSearchData.replaceReferences;
|
||||||
}
|
}
|
||||||
catch( const std::bad_cast& e )
|
catch( const std::bad_cast& )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ bool SCH_FIELD::Replace( const EDA_SEARCH_DATA& aSearchData, void* aAuxData )
|
||||||
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( aSearchData );
|
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( aSearchData );
|
||||||
replaceReferences = schSearchData.replaceReferences;
|
replaceReferences = schSearchData.replaceReferences;
|
||||||
}
|
}
|
||||||
catch( const std::bad_cast& e )
|
catch( const std::bad_cast& )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -606,7 +606,7 @@ TYPE SIM_MODEL::InferTypeFromRefAndValue( const wxString& aRef, const wxString&
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( const tao::pegtl::parse_error& e )
|
catch( const tao::pegtl::parse_error& )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -469,7 +469,7 @@ int SCH_EDITOR_CONTROL::FindNext( const TOOL_EVENT& aEvent )
|
||||||
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( data );
|
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( data );
|
||||||
searchAllSheets = !( schSearchData.searchCurrentSheetOnly );
|
searchAllSheets = !( schSearchData.searchCurrentSheetOnly );
|
||||||
}
|
}
|
||||||
catch( const std::bad_cast& e )
|
catch( const std::bad_cast& )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -624,7 +624,7 @@ int SCH_EDITOR_CONTROL::ReplaceAll( const TOOL_EVENT& aEvent )
|
||||||
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( data );
|
const SCH_SEARCH_DATA& schSearchData = dynamic_cast<const SCH_SEARCH_DATA&>( data );
|
||||||
currentSheetOnly = schSearchData.searchCurrentSheetOnly;
|
currentSheetOnly = schSearchData.searchCurrentSheetOnly;
|
||||||
}
|
}
|
||||||
catch( const std::bad_cast& e )
|
catch( const std::bad_cast& )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue