fix VC7 warnings

This commit is contained in:
Chris Danford
2004-11-08 06:16:22 +00:00
parent 2fc38be71c
commit ec4090a3eb
7 changed files with 21 additions and 30 deletions
+1 -2
View File
@@ -602,7 +602,7 @@ int PlayerMinus::GetClosestNoteDirectional( int col, int iStartRow, int iMaxRows
while( abs(iStartRow-iRow) <= iMaxRowsAhead )
{
/* Is iRow the row we want? */
do
for(;;)
{
if( m_NoteData.GetTapNote(col, iRow).type == TapNote::empty )
break;
@@ -610,7 +610,6 @@ int PlayerMinus::GetClosestNoteDirectional( int col, int iStartRow, int iMaxRows
break;
return iRow;
}
while(0);
if( bForward && !m_NoteData.GetNextTapNoteRowForTrack( col, iRow ) )
return -1;