removed unused variable
authorHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 12:00:22 +0000 (13:00 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 12:00:22 +0000 (13:00 +0100)
src/libgame/system.c
src/libgame/system.h
src/main.c

index 1b2a41f46679848cd852454466cabcfd5252fdd2..9888ef1307eebb440b0006bb376b810b635533e1 100644 (file)
@@ -70,7 +70,7 @@ int                   FrameCounter = 0;
 // ============================================================================
 
 void InitProgramInfo(char *argv0, char *config_filename, char *userdata_subdir,
-                    char *program_title, char *icon_title,
+                    char *program_title,
                     char *icon_filename, char *cookie_prefix,
                     char *program_version_string, int program_version)
 {
@@ -84,7 +84,6 @@ void InitProgramInfo(char *argv0, char *config_filename, char *userdata_subdir,
 
   program.program_title = program_title;
   program.window_title = "(undefined)";
-  program.icon_title = icon_title;
 
   program.icon_filename = icon_filename;
 
index 6bd134568b94160331e648a2e78075a7e42cbf28..23e37276319a986454f5062c206d6ce67572a898 100644 (file)
@@ -1029,7 +1029,6 @@ struct ProgramInfo
 
   char *program_title;
   char *window_title;
-  char *icon_title;
 
   char *icon_filename;
 
@@ -1945,7 +1944,7 @@ extern int                        FrameCounter;
 
 // function definitions
 
-void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
+void InitProgramInfo(char *, char *, char *, char *, char *, char *,
                     char *, int);
 void InitNetworkInfo(boolean, boolean, boolean, char *, int);
 void InitRuntimeInfo(void);
index 782a29699674a4dacd4ec4ab32bce915caf96f25..793b7af044858fdf23c509249e49b60c7d8dd2b6 100644 (file)
@@ -7799,7 +7799,6 @@ static void InitProgramConfig(char *command_filename)
                  config_filename,
                  userdata_subdir,
                  program_title,
-                 program_title,
                  program_icon_file,
                  COOKIE_PREFIX,
                  program_version,