summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-02-21 11:59:19 +0200
committerShlomi Fish <shlomif@shlomifish.org>2017-02-21 11:59:19 +0200
commit0a2c387d5c375aa9dd9e828f100ab55deb8dac72 (patch)
treed2164f7f68e6fe4f18ef97b32ea693c35d10aa57 /modules/gdscript
parentf6950956bdab064cc1e027b93a0ddd0d94dda882 (diff)
Fix some compilation warnings.
Redone the commit based on the input in https://github.com/godotengine/godot/pull/7851 . Not all warnings were fixed but it's a start.
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gd_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index 114a25feeb..1a38ff4f5e 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -2645,6 +2645,7 @@ Error GDScriptLanguage::lookup_code(const String& p_code, const String& p_symbol
switch(p.get_completion_type()) {
+ case GDParser::COMPLETION_GET_NODE:
case GDParser::COMPLETION_NONE: {
} break;
case GDParser::COMPLETION_BUILT_IN_TYPE_CONSTANT: {