[empathy: 10/12] Make clear that for(foo); does nothing.



commit 59e8855f553fdcd3d23d3f0788ec6628192f0892
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Nov 3 17:10:06 2009 +0100

    Make clear that for(foo); does nothing.

 libempathy-gtk/empathy-chat.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 81d0d07..d8acd3b 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;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]