/soc/2013/ankitkv/gobjectification: 111757790de8: Removed redund...

Ankit Vani a at nevitus.org
Tue Jul 9 21:32:39 EDT 2013


Changeset: 111757790de8ddb7af96799f34da5b166366bd61
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-10 07:02 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/111757790de8

Description:

Removed redundant line

diffstat:

 libpurple/account.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff --git a/libpurple/account.c b/libpurple/account.c
--- a/libpurple/account.c
+++ b/libpurple/account.c
@@ -1864,10 +1864,9 @@ GSList *
 purple_account_privacy_get_permitted(PurpleAccount *account)
 {
 	PurpleAccountPrivate *priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
+
 	g_return_val_if_fail(priv != NULL, NULL);
 
-	priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
-
 	return priv->permit;
 }
 
@@ -1875,10 +1874,9 @@ GSList *
 purple_account_privacy_get_denied(PurpleAccount *account)
 {
 	PurpleAccountPrivate *priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
+
 	g_return_val_if_fail(priv != NULL, NULL);
 
-	priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
-
 	return priv->deny;
 }
 



More information about the Commits mailing list