From: Holger Schemel Date: Wed, 8 Feb 2023 12:00:22 +0000 (+0100) Subject: removed unused variable X-Git-Tag: 4.3.5.0~12 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b527e3e0892cce0d1c6540c6961bb0f7e32747bf;p=rocksndiamonds.git removed unused variable --- diff --git a/src/libgame/system.c b/src/libgame/system.c index 1b2a41f4..9888ef13 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -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; diff --git a/src/libgame/system.h b/src/libgame/system.h index 6bd13456..23e37276 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -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); diff --git a/src/main.c b/src/main.c index 782a2969..793b7af0 100644 --- a/src/main.c +++ b/src/main.c @@ -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,