Fix a few minor coverity warnings (not initialized members)
This commit is contained in:
parent
9f0b2e4bb0
commit
9723b0d844
|
@ -141,6 +141,8 @@ std::unique_ptr<FOOTPRINT_LIST> FOOTPRINT_LIST::GetInstance( KIWAY& aKiway )
|
|||
|
||||
FOOTPRINT_ASYNC_LOADER::FOOTPRINT_ASYNC_LOADER() : m_list( nullptr )
|
||||
{
|
||||
m_started = false;
|
||||
m_total_libs = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ FOOTPRINT_SELECT_WIDGET::FOOTPRINT_SELECT_WIDGET( wxWindow* aParent,
|
|||
m_fp_loader( aLoader ),
|
||||
m_fp_list( aFpList )
|
||||
{
|
||||
m_zero_filter = true;
|
||||
m_sizer = new wxBoxSizer( wxVERTICAL );
|
||||
m_progress_timer = std::make_unique<wxTimer>( this );
|
||||
m_book = new wxSimplebook( this, wxID_ANY );
|
||||
|
|
|
@ -281,6 +281,7 @@ private:
|
|||
{
|
||||
SCAN_STATE()
|
||||
{
|
||||
dist_prev = INT_MAX;
|
||||
dist_max = INT_MAX;
|
||||
nearest = -1;
|
||||
nearest_prev = -1;
|
||||
|
|
|
@ -165,7 +165,7 @@ class FP_THREAD_IFACE
|
|||
std::deque<CACHE_ENTRY> m_loaderQueue;
|
||||
std::map<LIB_ID, CACHE_ENTRY> m_cachedFootprints;
|
||||
LIB_ID m_current_fp;
|
||||
FOOTPRINT_PREVIEW_PANEL* m_panel;
|
||||
FOOTPRINT_PREVIEW_PANEL* m_panel = nullptr;
|
||||
MUTEX m_lock;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue