Remove an unnecessary test for wxUSE_STD_CONTAINERS
Remove the extra initialization which was supposed to avoid a compiler warning that doesn't seem to happen any more.
This commit is contained in:
parent
3a96c34e12
commit
de1dca5ff1
1 changed files with 1 additions and 5 deletions
|
|
@ -163,11 +163,7 @@ bool wxCommandProcessor::Undo()
|
|||
bool wxCommandProcessor::Redo()
|
||||
{
|
||||
wxCommand *redoCommand = nullptr;
|
||||
wxList::compatibility_iterator redoNode
|
||||
#if !wxUSE_STD_CONTAINERS
|
||||
= nullptr // just to avoid warnings
|
||||
#endif // !wxUSE_STD_CONTAINERS
|
||||
;
|
||||
wxList::compatibility_iterator redoNode;
|
||||
|
||||
if ( m_currentCommand )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue