diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-12 21:33:57 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-12 21:33:57 +0100 |
commit | 87d71b96770c36bc7965137b7eab367c04ca07a3 (patch) | |
tree | 13a627d4732801bbcefede4c3319a2bfaa6dcb74 /src | |
parent | 049c6eb6a8f1ec28f211f0c93ace99c343dd25a0 (diff) | |
download | weechat-87d71b96770c36bc7965137b7eab367c04ca07a3.zip |
core: remove useless continue statement in loop
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-command.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 0e95b7869..1bea236a6 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -120,9 +120,8 @@ COMMAND_CALLBACK(allbuf) for (i = 0; i < list_size; i++) { ptr_buffer = (struct t_gui_buffer *)arraylist_get (all_buffers, i); - if (!gui_buffer_valid (ptr_buffer)) - continue; - (void) input_data (ptr_buffer, argv_eol[1], NULL); + if (gui_buffer_valid (ptr_buffer)) + (void) input_data (ptr_buffer, argv_eol[1], NULL); } arraylist_free (all_buffers); |