diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-07-02 15:00:52 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-07-02 15:00:52 +0200 |
commit | a0e1dfbb87de4b4d0161daeb0775b68423aad806 (patch) | |
tree | 4cd06d86e155c03fd304dfbfdaba76460e6d1ad2 /src/command | |
parent | f8ff93234eb118de2e69d0c4667a6cbbe90e8f8c (diff) | |
download | profani-tty-a0e1dfbb87de4b4d0161daeb0775b68423aad806.tar.gz |
cmd_funcs.c: Remove not needed variable
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_funcs.c | 3 |
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; } |