[gitg] Fix compiler warning



commit 3b71a16701014c1a6d3fb6107892d26a1350f6dd
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Mon Jun 7 09:28:44 2010 +0200

    Fix compiler warning

 gitg/gitg-dnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-dnd.c b/gitg/gitg-dnd.c
index c1987e1..322dc84 100644
--- a/gitg/gitg-dnd.c
+++ b/gitg/gitg-dnd.c
@@ -422,7 +422,7 @@ begin_drag (GtkWidget   *widget,
 		/* This is a normal DND operation which is just possibly just about
 		   a SHA */
 		GitgRevision *revision;
-		GtkTreePath *path;
+		GtkTreePath *path = NULL;
 
 		revision = get_revision_at_pos (tree_view,
 		                                (gint)data->x,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]