From bf7f9244a95962c9833e68743726fe83a00b732c Mon Sep 17 00:00:00 2001 From: Hubert Jarosz Date: Mon, 29 Feb 2016 23:36:19 +0100 Subject: fix two reading uninitialized pointers fixed in: tools/editor/project_settings.cpp scene/gui/graph_edit.cpp --- tools/editor/project_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/editor/project_settings.cpp b/tools/editor/project_settings.cpp index 88833e4963..4a7388fd54 100644 --- a/tools/editor/project_settings.cpp +++ b/tools/editor/project_settings.cpp @@ -966,7 +966,7 @@ void ProjectSettings::_autoload_delete(Object *p_item,int p_column, int p_button undo_redo->commit_action(); } else { - TreeItem *swap; + TreeItem *swap = NULL; if (p_button==1) { swap=ti->get_prev(); -- cgit v1.2.3