]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/forty/scorefil.cpp
Applied patch [ 872338 ] Minor fixes to forty, fractal and poem demos
[wxWidgets.git] / demos / forty / scorefil.cpp
index ef98e7761b04d0fe43dc709a2e97f2908bb6f17f..a0609447053106e0e001942d1a8610a02e93fad4 100644 (file)
@@ -91,15 +91,13 @@ void ScoreFile::GetPlayerList( wxArrayString &list )
        if (length <= 0) return;
 
        wxString player;
-       long index, i = 0;
+       long index;
        if (m_config->GetFirstGroup(player, index))
        {
             list.Add( player );
-            i++;
                while (m_config->GetNextGroup(player, index))
                {
                  list.Add( player );
-                 i++;
                }
        }
 }