summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-05 16:12:45 +0200
committerGitHub <noreply@github.com>2019-04-05 16:12:45 +0200
commita61ad365f526e7acdbc556abc5678cd225e120d7 (patch)
tree676bce820159900632ec4d239f60c6edd9230e9b /modules/mono
parent696be497284e95e4ba70c88ff52bc6255af81bb8 (diff)
parentfc370b3feb419fdc1a8139bdf01f1dacf868ca1f (diff)
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
Fix -Wimplicit-fallthrough warnings from GCC 8
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/editor/bindings_generator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp
index c0504bec64..84e2303cf6 100644
--- a/modules/mono/editor/bindings_generator.cpp
+++ b/modules/mono/editor/bindings_generator.cpp
@@ -2497,6 +2497,7 @@ void BindingsGenerator::_default_argument_from_variant(const Variant &p_val, Arg
r_iarg.default_argument = "null";
break;
}
+ FALLTHROUGH;
case Variant::DICTIONARY:
case Variant::_RID:
r_iarg.default_argument = "new %s()";