summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-04-25 20:30:17 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-04-25 20:30:17 +0000
commitf88fe4e3706ca59af06fdd0e2d696f720328db56 (patch)
tree07b831c433a3bbc5075043b7a9e6f88629ae93b3 /hw
parent183aa45407e7b665d88842f8e288f6bbcac15e22 (diff)
downloadqemu-f88fe4e3706ca59af06fdd0e2d696f720328db56.tar.gz
alpha: remove dead assignments, spotted by clang analyzer
Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/alpha_palcode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/alpha_palcode.c b/hw/alpha_palcode.c
index 6293d10936..033b54201c 100644
--- a/hw/alpha_palcode.c
+++ b/hw/alpha_palcode.c
@@ -79,9 +79,7 @@ static void pal_reset (CPUState *env)
static void do_swappal (CPUState *env, uint64_t palid)
{
pal_handler_t *pal_handler;
- int status;
- status = 0;
switch (palid) {
case 0 ... 2:
pal_handler = &pal_handlers[palid];