Merge pull request #16649 from ibrahn/visual-script-release-crash

fix for segfault when using CallBasic in visual script on release build
This commit is contained in:
Rémi Verschelde 2018-05-01 17:48:27 +02:00 committed by GitHub
commit 85c8953c9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,9 +153,9 @@ struct _VariantCall {
funcdata.func = p_func; funcdata.func = p_func;
funcdata.default_args = p_defaultarg; funcdata.default_args = p_defaultarg;
funcdata._const = p_const; funcdata._const = p_const;
funcdata.returns = p_has_return;
#ifdef DEBUG_ENABLED #ifdef DEBUG_ENABLED
funcdata.return_type = p_return; funcdata.return_type = p_return;
funcdata.returns = p_has_return;
#endif #endif
if (p_argtype1.name) { if (p_argtype1.name) {