changeset 17087:856a25046228

Remove dead code.
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 May 2007 05:53:29 +0000
parents 4fd7ec01b3f3
children 6545d21b6f5b
files libpurple/idle.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/idle.c	Tue May 15 00:30:22 2007 +0000
+++ b/libpurple/idle.c	Sat May 19 05:53:29 2007 +0000
@@ -166,14 +166,12 @@
 	{
 		purple_savedstatus_set_idleaway(TRUE);
 		no_away = 0;
-		if (time_idle < away_seconds && (away_seconds - time_idle) < time_until_next_idle_event)
-			time_until_next_idle_event = away_seconds - time_idle;
 	}
 	else if (!no_away && time_idle < away_seconds)
 	{
 		purple_savedstatus_set_idleaway(FALSE);
 		no_away = 1;
-		if (time_idle < away_seconds && (away_seconds - time_idle) < time_until_next_idle_event)
+		if ((away_seconds - time_idle) < time_until_next_idle_event)
 			time_until_next_idle_event = away_seconds - time_idle;
 	}