From c973a36d178510790c148f88104b85016f59235a Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 23 Sep 2010 22:16:15 +0400 Subject: fmopl: workaround for -Wempty-body Signed-off-by: malc --- hw/fmopl.c | 6 ++++-- 1 file 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 */ -- cgit v1.2.3