[Xfce4-commits] [xfce/thunar] 05/05: Coverity CID 60623: Unused value
noreply at xfce.org
noreply at xfce.org
Wed Apr 22 13:44:40 CEST 2015
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/thunar.
commit 5deb288319a1abadde69e55c20e3f98e59d37782
Author: Harald Judt <h.judt at gmx.at>
Date: Wed Apr 22 13:38:51 2015 +0200
Coverity CID 60623: Unused value
CID 60623 (#1 of 1): Unused value (UNUSED_VALUE)
assigned_value: Assigning value from event->x to path_entry->drag_x here,
but that stored value is overwritten before it can be used.
...
value_overwrite: Overwriting previous write to path_entry->drag_x with
value from event->y.
---
thunar/thunar-path-entry.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thunar/thunar-path-entry.c b/thunar/thunar-path-entry.c
index 6a559de..c5928aa 100644
--- a/thunar/thunar-path-entry.c
+++ b/thunar/thunar-path-entry.c
@@ -387,7 +387,7 @@ thunar_path_entry_button_press_event (GtkWidget *widget,
/* consume the event */
path_entry->drag_button = event->button;
path_entry->drag_x = event->x;
- path_entry->drag_x = event->y;
+ path_entry->drag_y = event->y;
return TRUE;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list