aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-04-23 11:02:04 +0200
committerRenaud G <renaud@rolisteam.org>2019-04-23 11:33:14 +0200
commit50a25c363b94e4a7295636bcb6c7cebd76fdf572 (patch)
tree55ba24dcea4391feb66091e3bc7982f04f2872f5 /cli
parent420262877bccd35e5bc8c87eb586ba73288fe9c8 (diff)
downloadOneRoll-50a25c363b94e4a7295636bcb6c7cebd76fdf572.tar.gz
OneRoll-50a25c363b94e4a7295636bcb6c7cebd76fdf572.zip
Fix uninitialized variable
Diffstat (limited to 'cli')
-rw-r--r--cli/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/main.cpp b/cli/main.cpp
index e7e8983..f2de0f2 100644
--- a/cli/main.cpp
+++ b/cli/main.cpp
@@ -290,7 +290,8 @@ int startDiceParsing(QStringList& cmds, QString& treeFile, bool withColor, EXPOR
bool homogeneous= true;
parser.getLastDiceResult(list, homogeneous);
parser.getDiceResultFromAllInstruction(listFull);
- bool allSameFaceCount, allSameColor;
+ bool allSameFaceCount= true;
+ bool allSameColor= true;
auto array= DisplayToolBox::diceToJson(list, allSameFaceCount, allSameColor);
QString resultStr;
QString scalarText;