diff --git a/stepmania/src/MusicWheel.cpp b/stepmania/src/MusicWheel.cpp index a2e57a1f53..9f9cc6006d 100644 --- a/stepmania/src/MusicWheel.cpp +++ b/stepmania/src/MusicWheel.cpp @@ -529,7 +529,8 @@ void MusicWheel::BuildWheelItemDatas( vector &arrayWheelIt int iSectionCount = 0; // Count songs in this section - for( unsigned j=i; j < arraySongs.size(); j++ ) + unsigned j; + for( j=i; j < arraySongs.size(); j++ ) { if( SongUtil::GetSectionNameFromSongAndSort( arraySongs[j], so ) != sThisSection ) break;