# HG changeset patch # User Sadrul Habib Chowdhury # Date 1191977248 0 # Node ID 9e51721a23c71fd14e5ef19a24a1443c8be1cd8e # Parent 371f590b9657d88ae63efba830a4944d6020ad63 Resolve CID 364: 'Pointer returned from "g_hash_table_lookup" is never used' diff -r 371f590b9657 -r 9e51721a23c7 finch/libgnt/gntwm.c --- a/finch/libgnt/gntwm.c Sat Oct 06 21:22:19 2007 +0000 +++ b/finch/libgnt/gntwm.c Wed Oct 10 00:47:28 2007 +0000 @@ -1717,12 +1717,11 @@ 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);