aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--diceparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index 1f58948..7add97d 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -176,7 +176,6 @@ bool DiceParser::parseLine(QString str, bool allowAlias)
}
m_command= str;
bool hasInstruction= readInstructionList(str);
-
bool value= hasInstruction;
if(!hasInstruction)
{
@@ -194,7 +193,6 @@ bool DiceParser::parseLine(QString str, bool allowAlias)
ExecutionNode::UNEXPECTED_CHARACTER,
QObject::tr("Unexpected character at %1 - end of command was ignored \"%2\"").arg(i).arg(str));
}
-
if(!m_errorMap.isEmpty())
value= false;