summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2023-11-01 12:12:03 (GMT)
committerGitHub <noreply@github.com>2023-11-01 12:12:03 (GMT)
commite9e4ffaec73d74075426f61ecdd9e9ea35fa6f50 (patch)
treecbc4484d38dd3599da436c83104bc00e43712768 /src
parent39c0284c38395aac9eb43364b14931fc2826b7f6 (diff)
downloadhdf5-e9e4ffaec73d74075426f61ecdd9e9ea35fa6f50.zip
hdf5-e9e4ffaec73d74075426f61ecdd9e9ea35fa6f50.tar.gz
hdf5-e9e4ffaec73d74075426f61ecdd9e9ea35fa6f50.tar.bz2
Remove H5system.c warning on Windows oneAPI. (#3812)
Diffstat (limited to 'src')
-rw-r--r--src/H5system.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 30a89a1..be886ae 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