aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-09-01 13:00:48 +0200
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-23 07:11:28 +0100
commit12dabc79f976d66755025272f7e2e8e4da31715a (patch)
tree3dcf2c9cae39b078e6505591b5ec1fd4b101664a /scripts
parent997f15672a5ca7714cf310d92f475d2c5fe40970 (diff)
pflash_cfi01: Fix warning caused by unreachable code
Report from smatch: hw/pflash_cfi01.c:431 pflash_write(180) info: ignoring unreachable code. Instead of removing the return statement after the switch statement, the patch replaces the return statements in the switch statement by break statements. Other switch statements in the same code do it also like that. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions