mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
warnings: remove unused variables
This commit is contained in:
parent
4cf559ad27
commit
f4659b4c4f
@ -44,9 +44,7 @@ wxDEFINE_EVENT( EDA_EVT_PLUGIN_AVAILABILITY_CHANGED, wxCommandEvent );
|
||||
|
||||
API_PLUGIN_MANAGER::API_PLUGIN_MANAGER( wxEvtHandler* aEvtHandler ) :
|
||||
wxEvtHandler(),
|
||||
m_parent( aEvtHandler ),
|
||||
m_lastPid( 0 ),
|
||||
m_raiseTimer( nullptr )
|
||||
m_parent( aEvtHandler )
|
||||
{
|
||||
// Read and store pcm schema
|
||||
wxFileName schemaFile( PATHS::GetStockDataPath( true ), wxS( "api.v1.schema.json" ) );
|
||||
|
@ -81,7 +81,6 @@ void KiAssertFilter( const wxString &file, int line,
|
||||
static std::atomic<unsigned int> locale_count( 0 );
|
||||
|
||||
LOCALE_IO::LOCALE_IO()
|
||||
: m_wxLocale( nullptr )
|
||||
{
|
||||
// use thread safe, atomic operation
|
||||
if( locale_count++ == 0 )
|
||||
|
@ -36,7 +36,7 @@ using namespace KIGFX::PREVIEW;
|
||||
|
||||
BEZIER_ASSISTANT::BEZIER_ASSISTANT( const BEZIER_GEOM_MANAGER& aManager,
|
||||
const EDA_IU_SCALE& aIuScale, EDA_UNITS aUnits ) :
|
||||
EDA_ITEM( NOT_USED ), m_constructMan( aManager ), m_iuScale( aIuScale ), m_units( aUnits )
|
||||
EDA_ITEM( NOT_USED ), m_constructMan( aManager ), m_units( aUnits )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -283,8 +283,7 @@ public:
|
||||
REPORTER* aReporter, PROGRESS_REPORTER* aProgressReporter ) :
|
||||
m_reporter( aReporter ),
|
||||
m_schematic( nullptr ),
|
||||
m_ltspiceDataDir( aLTspiceDataDir ),
|
||||
m_progressReporter( aProgressReporter )
|
||||
m_ltspiceDataDir( aLTspiceDataDir )
|
||||
{}
|
||||
|
||||
~LTSPICE_SCHEMATIC() {}
|
||||
@ -438,7 +437,6 @@ private:
|
||||
REPORTER* m_reporter;
|
||||
SCHEMATIC* m_schematic;
|
||||
wxFileName m_ltspiceDataDir;
|
||||
PROGRESS_REPORTER* m_progressReporter; // optional; may be nullptr
|
||||
|
||||
std::map<wxString, std::map<wxString, wxString>> m_fileCache;
|
||||
};
|
||||
|
@ -34,7 +34,6 @@ class SPICE_LIBRARY_PARSER
|
||||
{
|
||||
public:
|
||||
SPICE_LIBRARY_PARSER( SIM_LIBRARY_SPICE &aLibrary, bool aForceFullParse ) :
|
||||
m_forceFullParse( aForceFullParse ),
|
||||
m_library( aLibrary )
|
||||
{};
|
||||
|
||||
@ -48,7 +47,6 @@ protected:
|
||||
std::vector<std::pair<std::string, std::string>>* aModelQueue );
|
||||
|
||||
private:
|
||||
bool m_forceFullParse;
|
||||
SIM_LIBRARY_SPICE& m_library;
|
||||
};
|
||||
|
||||
|
@ -37,9 +37,7 @@ SHEET_SYNCHRONIZATION_AGENT::SHEET_SYNCHRONIZATION_AGENT( DO_MODIFY_ITEM aDoMod
|
||||
SCH_EDIT_FRAME* a_frame ) :
|
||||
m_doModify( std::move( aDoModify ) ),
|
||||
m_doDelete( std::move( aNotifyItemChange ) ),
|
||||
m_doPlaceItem( std::move( aPlaceItem ) ),
|
||||
m_toolManager( aToolManager ),
|
||||
m_frame( a_frame )
|
||||
m_doPlaceItem( std::move( aPlaceItem ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -88,8 +88,6 @@ private:
|
||||
DO_MODIFY_ITEM m_doModify;
|
||||
DO_DELETE_ITEM m_doDelete;
|
||||
DO_PLACE_ITEM m_doPlaceItem;
|
||||
TOOL_MANAGER* m_toolManager;
|
||||
SCH_EDIT_FRAME* m_frame;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -37,8 +37,7 @@
|
||||
|
||||
SCH_HIERLABEL_SYNCHRONIZATION_ITEM::SCH_HIERLABEL_SYNCHRONIZATION_ITEM( SCH_HIERLABEL* aLabel,
|
||||
SCH_SHEET* aSheet ) :
|
||||
m_label( aLabel ),
|
||||
m_sheet( aSheet )
|
||||
m_label( aLabel )
|
||||
{
|
||||
}
|
||||
|
||||
@ -77,8 +76,7 @@ SHEET_SYNCHRONIZATION_ITEM_KIND SCH_HIERLABEL_SYNCHRONIZATION_ITEM::GetKind() co
|
||||
|
||||
SCH_SHEET_PIN_SYNCHRONIZATION_ITEM::SCH_SHEET_PIN_SYNCHRONIZATION_ITEM( SCH_SHEET_PIN* aPin,
|
||||
SCH_SHEET* aSheet ) :
|
||||
m_pin( aPin ),
|
||||
m_sheet( aSheet )
|
||||
m_pin( aPin )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,6 @@ public:
|
||||
|
||||
private:
|
||||
SCH_HIERLABEL* m_label;
|
||||
SCH_SHEET* m_sheet;
|
||||
};
|
||||
|
||||
|
||||
@ -104,7 +103,6 @@ public:
|
||||
|
||||
private:
|
||||
SCH_SHEET_PIN* m_pin;
|
||||
SCH_SHEET* m_sheet;
|
||||
};
|
||||
|
||||
|
||||
|
@ -103,7 +103,4 @@ private:
|
||||
std::deque<JOB> m_jobs;
|
||||
|
||||
std::unique_ptr<JSON_SCHEMA_VALIDATOR> m_schema_validator;
|
||||
|
||||
long m_lastPid;
|
||||
wxTimer* m_raiseTimer;
|
||||
};
|
||||
|
@ -46,7 +46,6 @@ public:
|
||||
private:
|
||||
// The locale in use before switching to the "C" locale
|
||||
// (the locale can be set by user, and is not always the system locale)
|
||||
wxLocale* m_wxLocale; // used when using wxLocale
|
||||
std::string m_user_locale; // used when using setlocale or wxSetlocale
|
||||
};
|
||||
|
||||
|
@ -63,7 +63,6 @@ namespace PREVIEW
|
||||
|
||||
private:
|
||||
const BEZIER_GEOM_MANAGER& m_constructMan;
|
||||
const EDA_IU_SCALE& m_iuScale;
|
||||
EDA_UNITS m_units;
|
||||
};
|
||||
} // namespace PREVIEW
|
||||
|
Loading…
x
Reference in New Issue
Block a user