Silence compiler warning
[supertux.git] / src / supertux / command_line_arguments.cpp
index e40503b..843f23d 100644 (file)
@@ -59,10 +59,9 @@ CommandLineArguments::print_datadir()
   // Print the datadir searchpath to stdout, one path per
   // line. Then exit. Intended for use by the supertux-editor.
   char **sp;
-  size_t sp_index;
   sp = PHYSFS_getSearchPath();
   if (sp)
-    for (sp_index = 0; sp[sp_index]; sp_index++)
+    for (size_t sp_index = 0; sp[sp_index]; sp_index++)
       std::cout << sp[sp_index] << std::endl;
   PHYSFS_freeList(sp);
 }
@@ -104,9 +103,9 @@ CommandLineArguments::print_help(const char* arg0)
             << _(     "Environment variables:") << "\n"
             << _(     "  SUPERTUX2_USER_DIR           Directory for user data (savegames, etc.)" ) << "\n"
             << _(     "  SUPERTUX2_DATA_DIR           Directory for the games datafiles" ) << "\n"<< "\n"
-    
-                 
-    
+
+
+
             << std::flush;
 }