fix two reading uninitialized pointers

fixed in:
tools/editor/project_settings.cpp
scene/gui/graph_edit.cpp
This commit is contained in:
Hubert Jarosz 2016-02-29 23:36:19 +01:00 committed by Hubert Jarosz
parent 19ea9ae1e5
commit bf7f9244a9
2 changed files with 2 additions and 2 deletions

View file

@ -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();