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
This commit is contained in:
parent
fc50408ce3
commit
65585f6433
12 changed files with 1 additions and 16 deletions
|
@ -547,7 +547,6 @@ static reg_t pointer_add(EngineState *s, reg_t base, int offset) {
|
|||
case SEG_TYPE_DYNMEM:
|
||||
base.offset += offset;
|
||||
return base;
|
||||
break;
|
||||
|
||||
default:
|
||||
// FIXME: Changed this to warning, because iceman does this during dancing with girl.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue