diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_op.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index feaddb3a3c..ac671cc852 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -1699,6 +1699,7 @@ Variant Variant::get_named(const StringName &p_index, bool *r_valid) const { if (r_valid) { *r_valid = false; } + return Variant(); } #define DEFAULT_OP_ARRAY_CMD(m_name, m_type, skip_test, cmd) \ |