aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 4575bf5..21277c3 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -979,8 +979,8 @@ bool DiceParser::readOption(QString& str,ExecutionNode* previous)//,
Validator* validator = m_parsingToolbox->readCompositeValidator(str);
if(NULL!=validator)
{
- ExecutionNode* trueNode;
- ExecutionNode* falseNode;
+ ExecutionNode* trueNode = NULL;
+ ExecutionNode* falseNode = NULL;
if(readIfInstruction(str,trueNode,falseNode))
{
nodeif->setInstructionTrue(trueNode);