diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2013-11-20 17:39:02 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-03-09 13:41:37 +0000 |
commit | 8e3b49969905182c903dc62f0f6e6debefefe973 (patch) | |
tree | 0119c9f3ae7501abd8ff6ee104b3e3916a43aab2 /gtk/gtktreeselection.c | |
parent | 968780d8da4a7a1d30ca1e17faec55de2e528390 (diff) | |
download | gtk+-8e3b49969905182c903dc62f0f6e6debefefe973.tar.gz |
gtktreeselection: Fix a potential use of uninitialised variables
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r-- | gtk/gtktreeselection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c index 778d76427a..1f6ae9b7e6 100644 --- a/gtk/gtktreeselection.c +++ b/gtk/gtktreeselection.c @@ -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; |