From 4eeb6ff50f3153c3e139507d99efdf2bc1b9314c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 11 Feb 2018 14:12:34 +0100 Subject: -fix non return value. --- booleancondition.cpp | 1 + parsingtoolbox.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/booleancondition.cpp b/booleancondition.cpp index 09140f7..5b2212f 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -127,6 +127,7 @@ quint64 BooleanCondition::getValidRangeSize(quint64 faces) const case Different: return faces-1; } + return 0; } Validator* BooleanCondition::getCopy() const { diff --git a/parsingtoolbox.cpp b/parsingtoolbox.cpp index 4ed0917..63c3001 100644 --- a/parsingtoolbox.cpp +++ b/parsingtoolbox.cpp @@ -550,6 +550,7 @@ DiceRollerNode* ParsingToolBox::getDiceRollerNode(ExecutionNode* previous) } previous = previous->getPreviousNode(); } + return nullptr; } bool ParsingToolBox::readDiceRange(QString& str,qint64& start, qint64& end) { -- cgit v1.2.3-70-g09d2