]> Git Repo - qemu.git/blobdiff - hw/ide/piix.c
Avoid returning void
[qemu.git] / hw / ide / piix.c
index f5a74c293aa42911351cd333b3a82dd90607a4fa..66527610a81d706b301c44b127b54e5d84c3d0d1 100644 (file)
@@ -73,7 +73,8 @@ static void bmdma_write(void *opaque, target_phys_addr_t addr,
 #endif
     switch(addr & 3) {
     case 0:
-        return bmdma_cmd_writeb(bm, val);
+        bmdma_cmd_writeb(bm, val);
+        break;
     case 2:
         bm->status = (val & 0x60) | (bm->status & 1) | (bm->status & ~val & 0x06);
         break;
This page took 0.023346 seconds and 4 git commands to generate.