aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-09-23 22:16:15 +0400
committermalc <av1474@comtv.ru>2010-09-24 04:09:01 +0400
commitc973a36d178510790c148f88104b85016f59235a (patch)
treea1a3b664377310f69f290d202700dbb92c7e81a6
parent9c9e7d51bf01afdd4902bc9832c4a6ec19f68d0b (diff)
fmopl: workaround for -Wempty-body
Signed-off-by: malc <av1474@comtv.ru>
-rw-r--r--hw/fmopl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/fmopl.c b/hw/fmopl.c
index d1161f848f..3df1806a91 100644
--- a/hw/fmopl.c
+++ b/hw/fmopl.c
@@ -1342,8 +1342,9 @@ unsigned char OPLRead(FM_OPL *OPL,int a)
{
if(OPL->keyboardhandler_r)
return OPL->keyboardhandler_r(OPL->keyboard_param);
- else
+ else {
LOG(LOG_WAR,("OPL:read unmapped KEYBOARD port\n"));
+ }
}
return 0;
#if 0
@@ -1355,8 +1356,9 @@ unsigned char OPLRead(FM_OPL *OPL,int a)
{
if(OPL->porthandler_r)
return OPL->porthandler_r(OPL->port_param);
- else
+ else {
LOG(LOG_WAR,("OPL:read unmapped I/O port\n"));
+ }
}
return 0;
case 0x1a: /* PCM-DATA */