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
|
@ -769,7 +769,6 @@ int AGOSEngine_PN::varval() {
|
|||
case 249:
|
||||
b = readfromline();
|
||||
return (int)(b + 256 * readfromline());
|
||||
break;
|
||||
case 250:
|
||||
return readfromline();
|
||||
case 251:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue