From d8c1251f88852541a5ef909ab046cd2b5f37196d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 20 Oct 2010 23:58:34 +0000 Subject: SAGA: Fix warning: comparison of unsigned expression < 0 is always false svn-id: r53660 --- engines/saga/saga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 589be1becc..e391e662c3 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -385,7 +385,7 @@ struct StringsTable { Common::Array strings; const char *getString(uint index) const { - if ((strings.size() <= index) || (index < 0)) { + if (strings.size() <= index) { // This occurs at the end of Ted's chapter, right after the ending cutscene warning("StringsTable::getString wrong index 0x%X (%d)", index, strings.size()); return ""; -- cgit v1.2.3