From 2378e4c2db770a1572cbec720d5a5b0021fe701f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 31 Oct 2010 18:21:10 +0100 Subject: [PATCH] Remove test on pointer which can't be NULL --- src/plugins/irc/irc-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/irc/irc-input.c b/src/plugins/irc/irc-input.c index f88b69786..04dc62f0f 100644 --- a/src/plugins/irc/irc-input.c +++ b/src/plugins/irc/irc-input.c @@ -114,7 +114,7 @@ irc_input_send_user_message (struct t_gui_buffer *buffer, int flags, { pos = message; pos_max = message + max_length; - while (pos && pos[0]) + while (pos[0]) { if (pos[0] == ' ') last_space = pos;