treestore: Initialize some local variables

gcc 11 is warning that these might be used uninitialized
otherwise.
This commit is contained in:
Matthias Clasen 2021-03-17 07:51:27 -04:00
parent 8b82993dde
commit 600cbdb7ba

View File

@ -2471,7 +2471,9 @@ gtk_tree_store_move (GtkTreeStore *tree_store,
GNode *parent, *node, *a, *b, *tmp, *tmp_a, *tmp_b;
int old_pos, new_pos, length, i, *order;
GtkTreePath *path = NULL, *tmppath, *pos_path = NULL;
GtkTreeIter parent_iter, dst_a, dst_b;
GtkTreeIter parent_iter = { 0, };
GtkTreeIter dst_a = { 0, };
GtkTreeIter dst_b = { 0, };
int depth = 0;
gboolean handle_b = TRUE;