diff options
| author | 2019-04-23 11:02:04 +0200 | |
|---|---|---|
| committer | 2019-04-23 11:33:14 +0200 | |
| commit | 50a25c363b94e4a7295636bcb6c7cebd76fdf572 (patch) | |
| tree | 55ba24dcea4391feb66091e3bc7982f04f2872f5 /cli | |
| parent | 420262877bccd35e5bc8c87eb586ba73288fe9c8 (diff) | |
| download | OneRoll-50a25c363b94e4a7295636bcb6c7cebd76fdf572.tar.gz OneRoll-50a25c363b94e4a7295636bcb6c7cebd76fdf572.zip | |
Fix uninitialized variable
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/main.cpp | 3 |
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; |