Fix uninitialized variable.
This commit is contained in:
+2
-4
@@ -366,12 +366,10 @@ const wxCursor& CURSOR_STORE::Get( KICURSOR aIdKey ) const
|
||||
const auto find_iter = m_store.find( aIdKey );
|
||||
|
||||
if( find_iter != m_store.end() )
|
||||
{
|
||||
return find_iter->second;
|
||||
}
|
||||
|
||||
wxASSERT_MSG( false,
|
||||
wxString::Format( "Could not find cursor with ID %d", static_cast<int>( aIdKey ) ) );
|
||||
wxASSERT_MSG( false, wxString::Format( "Could not find cursor with ID %d",
|
||||
static_cast<int>( aIdKey ) ) );
|
||||
return wxNullCursor;
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,7 @@ EE_SELECTION_TOOL::EE_SELECTION_TOOL() :
|
||||
m_exclusive_or( false ),
|
||||
m_multiple( false ),
|
||||
m_skip_heuristics( false ),
|
||||
m_nonModifiedCursor( KICURSOR::ARROW ),
|
||||
m_isSymbolEditor( false ),
|
||||
m_isLibView( false ),
|
||||
m_unit( 0 ),
|
||||
|
||||
Reference in New Issue
Block a user