diff options
author | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-10-10 00:47:28 +0000 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-10-10 00:47:28 +0000 |
commit | 986269861794fbca10c7bddc4e4837566907cc1e (patch) | |
tree | e6d47b00c15b174c084a3df3eccb822fc2883207 | |
parent | 54a09cebc78b7dbf52b647106b0ae8321a0638fe (diff) | |
download | pidgin-986269861794fbca10c7bddc4e4837566907cc1e.tar.gz |
Resolve CID 364: 'Pointer returned from "g_hash_table_lookup" is never used'
-rw-r--r-- | finch/libgnt/gntwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/finch/libgnt/gntwm.c b/finch/libgnt/gntwm.c index 3be45b2d8b..8927aaf347 100644 --- a/finch/libgnt/gntwm.c +++ b/finch/libgnt/gntwm.c @@ -1717,12 +1717,11 @@ void gnt_wm_window_decorate(GntWM *wm, GntWidget *widget) 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); |