about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-02 15:00:52 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-02 15:00:52 +0200
commita0e1dfbb87de4b4d0161daeb0775b68423aad806 (patch)
tree4cd06d86e155c03fd304dfbfdaba76460e6d1ad2 /src/command
parentf8ff93234eb118de2e69d0c4667a6cbbe90e8f8c (diff)
downloadprofani-tty-a0e1dfbb87de4b4d0161daeb0775b68423aad806.tar.gz
cmd_funcs.c: Remove not needed variable
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c3
1 files changed, 1 insertions, 2 deletions
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;
     }