mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
gtktreeselection: Fix a potential use of uninitialised variables
Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760
This commit is contained in:
parent
968780d8da
commit
8e3b499699
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user