fix warnings

This commit is contained in:
Chris Danford
2006-05-17 03:35:35 +00:00
parent 62acf89217
commit ad431ea1f1
+1 -4
View File
@@ -478,9 +478,7 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
// fall through
case ROW_STEPS:
{
RString s;
Steps *pSteps = GetSelectedSteps();
s = DifficultyToLocalizedString(GetSelectedDifficulty());
RString s = DifficultyToLocalizedString(GetSelectedDifficulty());
// UGLY. "Edit" -> "New Edit"
switch( EDIT_MODE.GetValue() )
@@ -536,7 +534,6 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
m_textValue[ROW_SOURCE_STEPS].SetHidden( GetSelectedSteps() ? true : false );
{
RString s;
Steps *pSourceSteps = GetSelectedSourceSteps();
if( GetSelectedSourceDifficulty() == DIFFICULTY_INVALID )
s = BLANK;
else