remove accidentally shadowing declaration

With this in place, the orgSel was always Invalid.
This commit is contained in:
Devin J. Pohly
2014-02-08 20:06:32 -05:00
parent 3322fa9144
commit 6ac4fcdbd3
+1 -1
View File
@@ -399,7 +399,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
if( !m_StepsTypes.empty() ) // Not first run
{
ASSERT( (int) m_StepsTypes.size() > m_iSelection[ROW_STEPS_TYPE] );
StepsType orgSel = m_StepsTypes[m_iSelection[ROW_STEPS_TYPE]];
orgSel = m_StepsTypes[m_iSelection[ROW_STEPS_TYPE]];
}
// The StepsType selection may no longer be valid. Zero it for now.