diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 14:25:30 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 14:25:30 -0500 |
commit | fd866bf94487ee39cccdaea749407faa487fcee5 (patch) | |
tree | 2ac9ef9d1d79c3ee0852479791c92337ba4ba053 /command.c | |
parent | 9278c63caff34a8c264416705a5658ee0b5210ef (diff) |
Status => bool on a few functions
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -311,7 +311,7 @@ void command_execute(Ted *ted, Command c, i64 argument) { menu_open(ted, MENU_OPEN); break; case CMD_NEW: - (void)ted_new_file(ted, NULL); + ted_new_file(ted, NULL); break; case CMD_SAVE: ted->last_save_time = ted->frame_time; @@ -331,7 +331,7 @@ void command_execute(Ted *ted, Command c, i64 argument) { break; case CMD_SAVE_ALL: ted->last_save_time = ted->frame_time; - (void)ted_save_all(ted); + ted_save_all(ted); break; case CMD_RELOAD_ALL: ted_reload_all(ted); @@ -412,7 +412,7 @@ void command_execute(Ted *ted, Command c, i64 argument) { case CMD_OPEN_CONFIG: { char local_config_filename[TED_PATH_MAX]; strbuf_printf(local_config_filename, "%s" PATH_SEPARATOR_STR TED_CFG, ted->local_data_dir); - (void)ted_open_file(ted, local_config_filename); + ted_open_file(ted, local_config_filename); } break; case CMD_COMMAND_SELECTOR: menu_open(ted, MENU_COMMAND_SELECTOR); |