]> git.proxmox.com Git - qemu.git/blobdiff - aio-win32.c
qom: pass file/line/function to asserting casts
[qemu.git] / aio-win32.c
index f5ea027f8cf02f6f1280b064675b64312d97ae63..38723bf1d37160a6de72763100f42fd66c401449 100644 (file)
@@ -214,5 +214,6 @@ bool aio_poll(AioContext *ctx, bool blocking)
         events[ret - WAIT_OBJECT_0] = events[--count];
     }
 
-    return progress;
+    assert(progress || busy);
+    return true;
 }