diff options
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/Global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigscript/Global.h b/sigscript/Global.h index 1f1807c1..c0839a02 100644 --- a/sigscript/Global.h +++ b/sigscript/Global.h @@ -42,7 +42,7 @@ ALLOW_OVERRIDE(class, type, variable); \ } #define ALLOW_OVERRIDE(class, type, variable) \ - type value; \ + type value = type(); \ if (valueOfType(#variable, &value) && m_##class->variable##Check(value)) \ return value |
