summaryrefslogtreecommitdiffstats
path: root/target-alpha
diff options
context:
space:
mode:
authorBlue Swirl2010-04-25 22:31:42 +0200
committerBlue Swirl2010-04-25 22:31:42 +0200
commitb2c58871c9fd3a6fe7f670b97af7708809477721 (patch)
treef5a0839d6ae110c6a8ac003c548b2eefdf6ece31 /target-alpha
parentalpha: remove dead assignments, spotted by clang analyzer (diff)
downloadqemu-b2c58871c9fd3a6fe7f670b97af7708809477721.tar.gz
qemu-b2c58871c9fd3a6fe7f670b97af7708809477721.tar.xz
qemu-b2c58871c9fd3a6fe7f670b97af7708809477721.zip
alpha: add missing 'break', spotted by clang analyzer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-alpha')
-rw-r--r--target-alpha/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index 46335cdf9c..9a039cb96b 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -466,6 +466,7 @@ int cpu_alpha_mtpr (CPUState *env, int iprn, uint64_t val, uint64_t *oldvalp)
env->ipr[IPR_SYSPTBR] = val;
else
ret = -1;
+ break;
case IPR_TBCHK:
/* Read-only */
ret = -1;