From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [4593] ETRAX: Avoid compiler warning.
Date: Tue, 27 May 2008 21:05:22 +0000 [thread overview]
Message-ID: <E1K16MD-0004np-Vi@cvs.savannah.gnu.org> (raw)
Revision: 4593
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4593
Author: edgar_igl
Date: 2008-05-27 21:05:21 +0000 (Tue, 27 May 2008)
Log Message:
-----------
ETRAX: Avoid compiler warning.
Modified Paths:
--------------
trunk/hw/etraxfs_eth.c
Modified: trunk/hw/etraxfs_eth.c
===================================================================
--- trunk/hw/etraxfs_eth.c 2008-05-27 21:04:41 UTC (rev 4592)
+++ trunk/hw/etraxfs_eth.c 2008-05-27 21:05:21 UTC (rev 4593)
@@ -391,7 +391,6 @@
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 @@
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;
}
}
reply other threads:[~2008-05-27 21:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1K16MD-0004np-Vi@cvs.savannah.gnu.org \
--to=edgar.iglesias@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.