diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-01 17:48:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 17:48:27 +0200 |
commit | 85c8953c9fec5dd4d9566d67f029299f22df80b7 (patch) | |
tree | 600883e88a871003a8efb94aec26b1485d09f559 /core | |
parent | b6a7c5693f13c40b381e5e6efa255fe723742311 (diff) | |
parent | 95dfa5b96d85d4cb02e70d70f0808101249abc54 (diff) |
Merge pull request #16649 from ibrahn/visual-script-release-crash
fix for segfault when using CallBasic in visual script on release build
Diffstat (limited to 'core')
-rw-r--r-- | core/variant_call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index d05c7b174c..1b938e3f41 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -153,9 +153,9 @@ struct _VariantCall { funcdata.func = p_func; funcdata.default_args = p_defaultarg; funcdata._const = p_const; + funcdata.returns = p_has_return; #ifdef DEBUG_ENABLED funcdata.return_type = p_return; - funcdata.returns = p_has_return; #endif if (p_argtype1.name) { |