From a1afbd6cf8c28e9bdee14b8ea7dbc53bbfb81d80 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Tue, 31 Oct 2023 11:11:36 -0500 Subject: [PATCH] Remove H5system.c warning on Windows oneAPI. --- src/H5system.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/H5system.c b/src/H5system.c index 30a89a174af..be886ae52f3 100644 --- a/src/H5system.c +++ b/src/H5system.c @@ -807,13 +807,12 @@ H5_nanosleep(uint64_t nanosec) #ifdef H5_HAVE_WIN32_API DWORD dwMilliseconds = (DWORD)ceil(nanosec / 1.0e6); - DWORD ignore; /* Windows can't sleep at a ns resolution. Best we can do is ~1 ms. We * don't care about the return value since the second parameter * (bAlertable) is false, so it will always be zero. */ - ignore = SleepEx(dwMilliseconds, false); + SleepEx(dwMilliseconds, false); #else