pidgin: c2ffbb13: Simplify

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Feb 3 21:20:37 EST 2010


-----------------------------------------------------------------
Revision: c2ffbb13d5978667767abdeeebd465a472f7e12b
Ancestor: cb026589554d7f0e1b15fb8b4cccbcf3ec47d3c9
Author: markdoliner at pidgin.im
Date: 2010-02-04T02:17:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c2ffbb13d5978667767abdeeebd465a472f7e12b

Modified files:
        libpurple/protocols/myspace/user.c

ChangeLog: 

Simplify

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/user.c	c5e716b2bc661bb7f1b5fe5b17fc96259f55a29a
+++ libpurple/protocols/myspace/user.c	4bea00928870378ac4da4001690ea34904ea083b
@@ -92,16 +92,13 @@ msim_find_user(MsimSession *session, con
 msim_find_user(MsimSession *session, const gchar *username)
 {
 	PurpleBuddy *buddy;
-	MsimUser *user;
 
 	buddy = purple_find_buddy(session->account, username);
 	if (!buddy) {
 		return NULL;
 	}
 
-	user = msim_get_user_from_buddy(buddy, TRUE);
-
-	return user;
+	return msim_get_user_from_buddy(buddy, TRUE);
 }
 
 /**


More information about the Commits mailing list