From a0e1dfbb87de4b4d0161daeb0775b68423aad806 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 2 Jul 2020 15:00:52 +0200 Subject: cmd_funcs.c: Remove not needed variable --- src/command/cmd_funcs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/command') diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 12c9a12d..f352df9d 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -6377,8 +6377,7 @@ cmd_log(ProfWin *window, const char *const command, gchar **args) } if (strcmp(subcmd, "where") == 0) { - const char *logfile = get_log_file_location(); - cons_show("Log file: %s", logfile); + cons_show("Log file: %s", get_log_file_location()); return TRUE; } -- cgit 1.4.1-2-gfad0