diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-07 11:07:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 11:07:13 +0200 |
commit | bf6dcb91059c7cb59771cbff23364612309193a4 (patch) | |
tree | 5819ae11fc608a6d2c4bbeb0df73d7bd7dd02d18 /editor/plugins/script_editor_plugin.cpp | |
parent | eae742312f757ceb8b10ef3d343733e764a9c36a (diff) | |
parent | 3e9740ac93f291f9576f1f8d87ac07f7bd27b82a (diff) | |
download | redot-engine-bf6dcb91059c7cb59771cbff23364612309193a4.tar.gz |
Merge pull request #22722 from akien-mga/fix-warnings
Fix more "may be used initialized" warnings from GCC 7
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 7cda15bdc6..d26e1a39f6 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1960,7 +1960,7 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra // doesn't have it, make a new one - ScriptEditorBase *se; + ScriptEditorBase *se = NULL; for (int i = script_editor_func_count - 1; i >= 0; i--) { se = script_editor_funcs[i](p_resource); |