Compiler be quiet! Fixes this compile warning:

Sun, 03 Jun 2007 01:05:59 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sun, 03 Jun 2007 01:05:59 +0000
changeset 17536
b04036df5ac6
parent 17535
5f2b75cc8b92
child 17537
d132625d967c
child 17542
6179ea7a4334
child 20535
20bec7dd9606

Compiler be quiet! Fixes this compile warning:
idle.c: In function 'check_idleness':
idle.c:124: warning: 'idle_recheck_interval' may be used uninitialized in this function

libpurple/idle.c file | annotate | diff | comparison | revisions
--- a/libpurple/idle.c	Sat Jun 02 19:05:28 2007 +0000
+++ b/libpurple/idle.c	Sun Jun 03 01:05:59 2007 +0000
@@ -121,7 +121,7 @@
 	gboolean report_idle;
 	GList *l;
 	gint away_seconds = 0;
-	gint idle_recheck_interval;
+	gint idle_recheck_interval = 0;
 
 	purple_signal_emit(purple_blist_get_handle(), "update-idle");
 

mercurial