summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorHubert Jarosz <marqin.pl+git@gmail.com>2016-02-29 23:36:19 +0100
committerHubert Jarosz <marqin.pl@gmail.com>2016-03-09 00:16:56 +0100
commitbf7f9244a95962c9833e68743726fe83a00b732c (patch)
tree8235e56bb65bd8b5b955acf7ea08b634e5e91fcc /tools/editor
parent19ea9ae1e5ad51e22c32d4f6593e93c7ef58f491 (diff)
fix two reading uninitialized pointers
fixed in: tools/editor/project_settings.cpp scene/gui/graph_edit.cpp
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/project_settings.cpp2
1 files changed, 1 insertions, 1 deletions
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();