fix a few compil warnings
This commit is contained in:
parent
6ebb3baa3b
commit
bd28bd7a00
|
@ -485,8 +485,9 @@ class PCM_FP_LIB_TRAVERSER final : public wxDirTraverser
|
|||
public:
|
||||
explicit PCM_FP_LIB_TRAVERSER( const wxString& aPath, FP_LIB_TABLE& aTable,
|
||||
const wxString& aPrefix ) :
|
||||
m_lib_table( aTable ),
|
||||
m_path_prefix( aPath ),
|
||||
m_lib_table( aTable ), m_lib_prefix( aPrefix )
|
||||
m_lib_prefix( aPrefix )
|
||||
{
|
||||
wxFileName f( aPath, "" );
|
||||
m_prefix_dir_count = f.GetDirCount();
|
||||
|
|
|
@ -155,7 +155,6 @@ const wxString PROJECT::FootprintLibTblName() const
|
|||
void PROJECT::PinLibrary( const wxString& aLibrary, bool isSymbolLibrary )
|
||||
{
|
||||
COMMON_SETTINGS* cfg = Pgm().GetCommonSettings();
|
||||
PROJECT_FILE& project = GetProjectFile();
|
||||
std::vector<wxString>& pinnedLibs = isSymbolLibrary ? m_projectFile->m_PinnedSymbolLibs
|
||||
: m_projectFile->m_PinnedFootprintLibs;
|
||||
|
||||
|
@ -177,7 +176,6 @@ void PROJECT::PinLibrary( const wxString& aLibrary, bool isSymbolLibrary )
|
|||
void PROJECT::UnpinLibrary( const wxString& aLibrary, bool isSymbolLibrary )
|
||||
{
|
||||
COMMON_SETTINGS* cfg = Pgm().GetCommonSettings();
|
||||
PROJECT_FILE& project = GetProjectFile();
|
||||
std::vector<wxString>& pinnedLibs = isSymbolLibrary ? m_projectFile->m_PinnedSymbolLibs
|
||||
: m_projectFile->m_PinnedFootprintLibs;
|
||||
|
||||
|
|
|
@ -525,8 +525,9 @@ class PCM_SYM_LIB_TRAVERSER final : public wxDirTraverser
|
|||
public:
|
||||
explicit PCM_SYM_LIB_TRAVERSER( const wxString& aPath, SYMBOL_LIB_TABLE& aTable,
|
||||
const wxString& aPrefix ) :
|
||||
m_lib_table( aTable ),
|
||||
m_path_prefix( aPath ),
|
||||
m_lib_table( aTable ), m_lib_prefix( aPrefix )
|
||||
m_lib_prefix( aPrefix )
|
||||
{
|
||||
wxFileName f( aPath, "" );
|
||||
m_prefix_dir_count = f.GetDirCount();
|
||||
|
|
Loading…
Reference in New Issue