mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-14 05:46:00 +00:00
Fixed warning C4189: 'cqe': local variable is initialized but not referenced
This commit is contained in:
@@ -249,7 +249,6 @@ static SDL_AsyncIOTask *ioring_asyncioqueue_get_results(void *userdata)
|
||||
static SDL_AsyncIOTask *ioring_asyncioqueue_wait_results(void *userdata, Sint32 timeoutMS)
|
||||
{
|
||||
WinIoRingAsyncIOQueueData *queuedata = (WinIoRingAsyncIOQueueData *) userdata;
|
||||
struct io_uring_cqe *cqe = NULL;
|
||||
|
||||
// the event only signals when the IoRing moves from empty to non-empty, so you have to try a (non-blocking) get_results first or risk eternal hangs.
|
||||
SDL_AsyncIOTask *task = ioring_asyncioqueue_get_results(userdata);
|
||||
|
Reference in New Issue
Block a user