diff options
author | Paul Gilbert | 2017-09-18 22:25:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-18 22:25:54 -0400 |
commit | af99606db8417ae69814907e16b3a89fbb1a1073 (patch) | |
tree | 1db848638a7efa83d86ab2adde2f67f2de07d5ac /engines/titanic/true_talk | |
parent | 3d4bc3c59b652acd53fa6307e53db7ad5a500f30 (diff) | |
download | scummvm-rg350-af99606db8417ae69814907e16b3a89fbb1a1073.tar.gz scummvm-rg350-af99606db8417ae69814907e16b3a89fbb1a1073.tar.bz2 scummvm-rg350-af99606db8417ae69814907e16b3a89fbb1a1073.zip |
TITANIC: Fix identified redundant tests & assignments
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_parser.cpp b/engines/titanic/true_talk/tt_parser.cpp index 49f233888b..3481587b8d 100644 --- a/engines/titanic/true_talk/tt_parser.cpp +++ b/engines/titanic/true_talk/tt_parser.cpp @@ -401,7 +401,7 @@ int TTparser::replaceNumbers(TTstring &line, int startIndex) { return index; bool flag1 = false, flag2 = false, flag3 = false; - int total = 0, factor = 0, endIndex = index; + int total = 0, factor = 0, endIndex; do { if (!(numEntry->_flags & NF_1)) { |