aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-08-29 00:18:57 +0200
committerRenaud G <renaud@rolisteam.org>2015-08-29 00:18:57 +0200
commit4e36ee1d9ce7016f9fc2a56ff5d039a534c6d5f0 (patch)
tree52bb447dad9423cb3a250ee02597f2ce82339125 /diceparser.cpp
parentda1db7bc2436f94ab288d8da8d98a8209d3d2caa (diff)
downloadOneRoll-4e36ee1d9ce7016f9fc2a56ff5d039a534c6d5f0.tar.gz
OneRoll-4e36ee1d9ce7016f9fc2a56ff5d039a534c6d5f0.zip
fix compilation.
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)