diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-27 21:05:21 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-27 21:05:21 +0000 |
commit | 9bcd77d6b1815db0716b56a605806ba2d2101656 (patch) | |
tree | 9445e9a8f008536fb4bc1a61c33c4f8d4cd54b6f /hw | |
parent | 5439779e84e352f20ee2d3e26daec81292f1b59a (diff) | |
download | hqemu-9bcd77d6b1815db0716b56a605806ba2d2101656.zip hqemu-9bcd77d6b1815db0716b56a605806ba2d2101656.tar.gz |
ETRAX: Avoid compiler warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4593 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/etraxfs_eth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c index 7bdd019..3d7ca0f 100644 --- a/hw/etraxfs_eth.c +++ b/hw/etraxfs_eth.c @@ -391,7 +391,6 @@ static void eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value) { struct fs_eth *eth = opaque; - CPUState *env = eth->env; /* Make addr relative to this instances base. */ addr -= eth->base; @@ -425,8 +424,8 @@ eth_writel (void *opaque, target_phys_addr_t addr, uint32_t value) default: eth->regs[addr] = value; - printf ("%s %x %x pc=%x\n", - __func__, addr, value, env->pc); + D(printf ("%s %x %x\n", + __func__, addr, value)); break; } } |