/soc/2013/ankitkv/gobjectification: cc887f5a408e: Removed unused...

Ankit Vani a at nevitus.org
Tue Oct 1 20:36:39 EDT 2013


Changeset: cc887f5a408ea0fcda488693ddc10fa48d42c69b
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-02 06:06 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/cc887f5a408e

Description:

Removed unused variable warning

diffstat:

 libpurple/signals.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (16 lines):

diff --git a/libpurple/signals.c b/libpurple/signals.c
--- a/libpurple/signals.c
+++ b/libpurple/signals.c
@@ -177,11 +177,9 @@ purple_signal_unregister(void *instance,
 void
 purple_signals_unregister_by_instance(void *instance)
 {
-	gboolean found;
-
 	g_return_if_fail(instance != NULL);
 
-	found = g_hash_table_remove(instance_table, instance);
+	g_hash_table_remove(instance_table, instance);
 
 	/*
 	 * Makes things easier (more annoying?) for developers who don't have



More information about the Commits mailing list