projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca6713
)
adlib: remove write-only variable
author
Hervé Poussineau
<hpoussin@reactos.org>
Sun, 18 Sep 2011 14:27:23 +0000
(16:27 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 23 Sep 2011 18:42:33 +0000
(13:42 -0500)
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/adlib.c
patch
|
blob
|
history
diff --git
a/hw/adlib.c
b/hw/adlib.c
index c1c46e3573a85dc3fd1e195d3fecbb0c5a114a22..e4bfcc6420045d61ac79c5129b4784268310f431 100644
(file)
--- 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
}