From 65585f643375e71d21d1c33e7c2f9a118897837d Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 10 Mar 2010 06:39:23 +0000 Subject: Silenced some harmless cppcheck warnings about unreachable code after a return. In this case, it was always a break after a return in a switch case. There are similar cases which cppcheck didn't detect, and a couple of cases where we have a break after a continue in a switch case (where the continue refers to an outer loop), but I didn't touch those. Not yet, at least. svn-id: r48218 --- engines/scumm/charset.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp index cf1c18b4f1..757171b24c 100644 --- a/engines/scumm/charset.cpp +++ b/engines/scumm/charset.cpp @@ -368,7 +368,6 @@ byte *ScummEngine::get2byteCharPtr(int idx) { } return _2byteFontPtr + base; - break; } case Common::ZH_CNA: idx = ((idx % 256) - 0xa1)* 94 + ((idx / 256) - 0xa1); -- cgit v1.2.3