summaryrefslogtreecommitdiffstats
path: root/sigscript
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript')
-rw-r--r--sigscript/Global.h2
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