Commit 8e3b4996 authored by Philip Withnall's avatar Philip Withnall

gtktreeselection: Fix a potential use of uninitialised variables

Found by scan-build.

https://bugzilla.gnome.org/show_bug.cgi?id=712760
parent 968780d8
......@@ -1297,7 +1297,7 @@ gtk_tree_selection_real_modify_range (GtkTreeSelection *selection,
GtkTreePath *end_path)
{
GtkTreeSelectionPrivate *priv = selection->priv;
GtkRBNode *start_node, *end_node;
GtkRBNode *start_node = NULL, *end_node = NULL;
GtkRBTree *start_tree, *end_tree;
GtkTreePath *anchor_path = NULL;
gboolean dirty = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment