im.pidgin.pidgin: e56db1b8a7bb8729e30fb3bf99a94ff7887fe4ec

sadrul at pidgin.im sadrul at pidgin.im
Tue Oct 9 21:02:29 EDT 2007


-----------------------------------------------------------------
Revision: e56db1b8a7bb8729e30fb3bf99a94ff7887fe4ec
Ancestor: 2495a1b6a3619d8188151eaf2822ce2ecd435dbf
Author: sadrul at pidgin.im
Date: 2007-10-10T00:47:28
Branch: im.pidgin.pidgin

Modified files:
        finch/libgnt/gntwm.c

ChangeLog: 

Resolve CID 364: 'Pointer returned from "g_hash_table_lookup" is never used'

-------------- next part --------------
============================================================
--- finch/libgnt/gntwm.c	d7f3ec2aabe25e3bec09760027069101d01b8537
+++ finch/libgnt/gntwm.c	96bbd1e5294684c8c9dd797b2d3409be768e1e99
@@ -1717,12 +1717,11 @@ void gnt_wm_window_close(GntWM *wm, GntW
 void gnt_wm_window_close(GntWM *wm, GntWidget *widget)
 {
 	GntWS *s;
-	GntNode *node;
 	int pos;
 
 	s = gnt_wm_widget_find_workspace(wm, widget);
 
-	if ((node = g_hash_table_lookup(wm->nodes, widget)) == NULL)
+	if (g_hash_table_lookup(wm->nodes, widget) == NULL)
 		return;
 
 	g_signal_emit(wm, signals[SIG_CLOSE_WIN], 0, widget);


More information about the Commits mailing list