diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-31 18:21:10 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-31 18:21:10 +0100 |
commit | 2378e4c2db770a1572cbec720d5a5b0021fe701f (patch) | |
tree | 5333c1fe907f7e9103fafea9382cd6ae78c829c8 /src/plugins/irc | |
parent | 90589b2d717cff5da6314ed38876e2517f038c22 (diff) | |
download | weechat-2378e4c2db770a1572cbec720d5a5b0021fe701f.zip |
Remove test on pointer which can't be NULL
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |