changeset 10368:ffb5f76d6188

[gaim-migrate @ 11587] whitespace, and remove a unused variable committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Tue, 14 Dec 2004 20:08:13 +0000
parents 5fe89d2df440
children 584c792dd15c
files src/blist.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/blist.c	Tue Dec 14 20:03:38 2004 +0000
+++ b/src/blist.c	Tue Dec 14 20:08:13 2004 +0000
@@ -134,7 +134,6 @@
 			bnode = bnode->next)
 	{
 		GaimBuddy *buddy;
-		GaimPresence *presence;
 
 		if (!GAIM_BLIST_NODE_IS_BUDDY(bnode))
 			continue;
@@ -149,13 +148,11 @@
  		{
  			int cmp;
  
- 			presence = gaim_buddy_get_presence(buddy);
- 
- 			cmp = gaim_presence_compare(gaim_buddy_get_presence(new_priority),
-					gaim_buddy_get_presence(buddy));
+			cmp = gaim_presence_compare(gaim_buddy_get_presence(new_priority),
+			                            gaim_buddy_get_presence(buddy));
 
  			if (cmp > 0 || (cmp == 0 &&
-						gaim_prefs_get_bool("/core/contact/last_match")))
+			                gaim_prefs_get_bool("/core/contact/last_match")))
  			{
  				new_priority = buddy;
  			}