From 59e8855f553fdcd3d23d3f0788ec6628192f0892 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 3 Nov 2009 17:10:06 +0100 Subject: Make clear that for(foo); does nothing. --- libempathy-gtk/empathy-chat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 81d0d0722..d8acd3b4e 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -630,7 +630,8 @@ chat_command_parse (const gchar *text, guint max_parts) } /* Search the end of this part, until first space. */ - for (end = text; *end != '\0' && !g_ascii_isspace (*end); end++); + for (end = text; *end != '\0' && !g_ascii_isspace (*end); end++) + /* Do nothing */; if (*end == '\0') { break; } -- cgit v1.2.3