From 55ad317aadb2660c20a5af3262e8dae338b94240 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 23 Jun 2004 10:23:44 +0000 Subject: As the comment above this code section states, the only reason we accept 1,2,3 here is for backward compatibility. 4 and 5 never were legal values, hence they shouldn't be detected svn-id: r14015 --- common/util.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common') diff --git a/common/util.cpp b/common/util.cpp index 5970dd8a80..bb7c4ed9ba 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -189,10 +189,6 @@ Platform parsePlatform(const String &str) { return kPlatformAtariST; else if (!strcmp(s, "3")) return kPlatformMacintosh; - else if (!strcmp(s, "4")) - return kPlatformFMTowns; - else if (!strcmp(s, "5")) - return kPlatformWindows; const PlatformDescription *l = g_platforms; for (; l->code; ++l) { -- cgit v1.2.3