[Xfce4-commits] [xfce/thunar] 05/05: Fix cppcheck warning about uninitialized variable
noreply at xfce.org
noreply at xfce.org
Tue May 12 20:52:21 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 afe91e9284785c265b0db8ffdaed6dfd4b3a4e87
Author: Harald Judt <h.judt at gmx.at>
Date: Tue May 12 20:44:02 2015 +0200
Fix cppcheck warning about uninitialized variable
This should not be necessary but will fix the warning.
---
thunar/thunar-tree-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/thunar/thunar-tree-view.c b/thunar/thunar-tree-view.c
index de56a63..2c1e068 100644
--- a/thunar/thunar-tree-view.c
+++ b/thunar/thunar-tree-view.c
@@ -844,7 +844,7 @@ thunar_tree_view_key_press_event(GtkWidget *widget,
GdkEventKey *event)
{
ThunarTreeView *view = THUNAR_TREE_VIEW (widget);
- ThunarDevice *device;
+ ThunarDevice *device = NULL;
GtkTreePath *path;
GtkTreeIter iter;
gboolean stopPropagation = FALSE;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list