diff mcabber/src/roster.c @ 1476:77afd831f8f7

Avoid mixed declarations and code Build failures reported by H. D. Oezbilen.
author Mikael Berthe <mikael@lilotux.net>
date Thu, 17 Apr 2008 21:01:09 +0200
parents ef09de538e8f
children 9fafea381eb8
line wrap: on
line diff
--- a/mcabber/src/roster.c	Tue Apr 15 07:48:46 2008 +0200
+++ b/mcabber/src/roster.c	Thu Apr 17 21:01:09 2008 +0200
@@ -668,8 +668,8 @@
     buddylist_build();
 
   if (unread_list_modified) {
+    guint unread_count = g_slist_length(unread_list);
     hlog_save_state();
-    guint unread_count = g_slist_length(unread_list);
     /* Call external command */
     hk_ext_cmd("", 'U', (guchar)MIN(255, unread_count), NULL);
   }