aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.cpp')
-rw-r--r--diceparser.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/diceparser.cpp b/diceparser.cpp
index bfe8247..dcb5030 100644
--- a/diceparser.cpp
+++ b/diceparser.cpp
@@ -181,11 +181,7 @@ bool DiceParser::parseLine(QString str)
{
m_errorMap.insert(ExecutionNode::NOTHING_UNDERSTOOD,QObject::tr("Nothing was understood"));
}
- else
- {
- return false;
- }
-
+ return false;
}
bool DiceParser::readExpression(QString& str,ExecutionNode* & node)