1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

Remove test on pointer which can't be NULL

This commit is contained in:
Sebastien Helleu
2010-10-31 18:21:10 +01:00
parent 90589b2d71
commit 2378e4c2db
+1 -1
View File
@@ -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;