[Scummvm-git-logs] scummvm master -> d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2

salty-horse ori at avtalion.name
Mon Oct 17 15:12:29 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d3c173da7a TITANIC: Remove always-true test


Commit: d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2
    https://github.com/scummvm/scummvm/commit/d3c173da7aa3ffcb62243816bd74ccb4ca3ec5b2
Author: Ori Avtalion (ori at avtalion.name)
Date: 2016-10-17T16:10:38+03:00

Commit Message:
TITANIC: Remove always-true test

Changed paths:
    engines/titanic/true_talk/tt_concept.cpp



diff --git a/engines/titanic/true_talk/tt_concept.cpp b/engines/titanic/true_talk/tt_concept.cpp
index 3c52c9f..9aad887 100644
--- a/engines/titanic/true_talk/tt_concept.cpp
+++ b/engines/titanic/true_talk/tt_concept.cpp
@@ -146,7 +146,7 @@ void TTconcept::reset() {
 }
 
 bool TTconcept::compareTo(const char *str) const {
-	return this != nullptr && _wordP != nullptr &&
+	return _wordP != nullptr &&
 		_wordP->compareTo(str);
 }
 





More information about the Scummvm-git-logs mailing list