1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

core, plugins: remove unneeded break after return

This commit is contained in:
Sébastien Helleu
2024-06-10 15:10:25 +02:00
parent 023a3b90fa
commit 26c01e30c3
8 changed files with 0 additions and 21 deletions
-1
View File
@@ -214,7 +214,6 @@ exec_decode_color (struct t_exec_cmd *exec_cmd, const char *string)
{
case EXEC_COLOR_ANSI:
return strdup (string);
break;
case EXEC_COLOR_AUTO:
irc_color = (exec_cmd->output_to_buffer || exec_cmd->pipe_command);
break;
-3
View File
@@ -112,10 +112,8 @@ irc_msgbuffer_get_target_buffer (struct t_irc_server *server, const char *nick,
{
case IRC_MSGBUFFER_TARGET_WEECHAT:
return NULL;
break;
case IRC_MSGBUFFER_TARGET_SERVER:
return (server) ? server->buffer : NULL;
break;
case IRC_MSGBUFFER_TARGET_CURRENT:
break;
case IRC_MSGBUFFER_TARGET_PRIVATE:
@@ -130,7 +128,6 @@ irc_msgbuffer_get_target_buffer (struct t_irc_server *server, const char *nick,
break;
default:
return (server) ? server->buffer : NULL;
break;
}
ptr_buffer = weechat_current_buffer ();