diff options
author | Avinash Sonawane <rootkea@gmail.com> | 2021-08-07 23:00:51 +0530 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-08-08 20:11:20 +0000 |
commit | dbbc85b8b05eb75bdece1294acd7a380ec53133d (patch) | |
tree | 3d265b1287004ee93ad8e8996495ee128b4937a8 /src/xfdesktop-icon-view.c | |
parent | 68045ceba0d5ee1c8c16d2c4e4d93ec3bbe94dc8 (diff) | |
download | xfdesktop-dbbc85b8b05eb75bdece1294acd7a380ec53133d.tar.gz |
Remove redundant code
Found by: scan-build
Diffstat (limited to 'src/xfdesktop-icon-view.c')
-rw-r--r-- | src/xfdesktop-icon-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c index e75dd5ab..5300e21c 100644 --- a/src/xfdesktop-icon-view.c +++ b/src/xfdesktop-icon-view.c @@ -1038,7 +1038,7 @@ xfdesktop_icon_view_button_release(GtkWidget *widget, * now. * We pass 0 as the button because the docs say that you must use 0 * for pop ups other than button press events. */ - if(icon_l && (icon = icon_l->data)) { + if(icon_l && icon_l->data) { xfce_desktop_popup_root_menu(XFCE_DESKTOP(widget), 0, evt->time); } } |