aboutsummaryrefslogtreecommitdiff
path: root/hw/adlib.c
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2011-09-18 16:27:23 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-23 13:42:33 -0500
commite8beeae4c0f42de9f72dcd7ba156dbb99ab4cc4c (patch)
tree2781d597aead2d0c062862f1357dab1c6883a79b /hw/adlib.c
parent22ec3283efba9ba0792790da786d6776d83f2a92 (diff)
downloadqemu-e8beeae4c0f42de9f72dcd7ba156dbb99ab4cc4c.zip
qemu-e8beeae4c0f42de9f72dcd7ba156dbb99ab4cc4c.tar.gz
qemu-e8beeae4c0f42de9f72dcd7ba156dbb99ab4cc4c.tar.bz2
adlib: remove write-only variable
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/adlib.c')
-rw-r--r--hw/adlib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/adlib.c b/hw/adlib.c
index c1c46e3..e4bfcc6 100644
--- a/hw/adlib.c
+++ b/hw/adlib.c
@@ -119,7 +119,6 @@ static IO_WRITE_PROTO (adlib_write)
{
AdlibState *s = opaque;
int a = nport & 3;
- int status;
s->active = 1;
AUD_set_active_out (s->voice, 1);
@@ -127,9 +126,9 @@ static IO_WRITE_PROTO (adlib_write)
adlib_kill_timers (s);
#ifdef HAS_YMF262
- status = YMF262Write (0, a, val);
+ YMF262Write (0, a, val);
#else
- status = OPLWrite (s->opl, a, val);
+ OPLWrite (s->opl, a, val);
#endif
}