fix for segfault when using CallBasic in visual script on release build

(cherry picked from commit 95dfa5b96d)
This commit is contained in:
Ibrahn Sahir 2018-02-12 17:06:54 +00:00 committed by Hein-Pieter van Braam
parent 2e61ca6193
commit 5f632391ca
1 changed files with 1 additions and 1 deletions

View File

@ -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) {