aboutsummaryrefslogtreecommitdiffstats
path: root/target-ppc/translate.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-25 20:32:49 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-25 20:32:49 +0000
commit05f92404cd8e0fa3204182350d19c74451f9c4b7 (patch)
tree452dbd7d01bdcf1a1ad1e15ec2776d07c3f5fb8b /target-ppc/translate.c
parentb2c58871c9fd3a6fe7f670b97af7708809477721 (diff)
ppc: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r--target-ppc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 3869c2401..3d9d5eef4 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -3398,7 +3398,7 @@ static void gen_b(DisasContext *ctx)
static inline void gen_bcond(DisasContext *ctx, int type)
{
uint32_t bo = BO(ctx->opcode);
- int l1 = gen_new_label();
+ int l1;
TCGv target;
ctx->exception = POWERPC_EXCP_BRANCH;