[PATCH] Remove unused variables in io_util_md.c handleLseek
Andrew Luo
andrewluotechnologies at outlook.com
Sat Dec 22 03:19:22 UTC 2018
While looking through this code debugging another issue I noticed there were some extra unused local variables. Patch is inline below.
Thanks,
-Andrew
diff --git a/src/java.base/windows/native/libjava/io_util_md.c b/src/java.base/windows/native/libjava/io_util_md.c
--- a/src/java.base/windows/native/libjava/io_util_md.c
+++ b/src/java.base/windows/native/libjava/io_util_md.c
@@ -559,8 +559,6 @@
handleLseek(FD fd, jlong offset, jint whence)
{
LARGE_INTEGER pos, distance;
- DWORD lowPos = 0;
- long highPos = 0;
DWORD op = FILE_CURRENT;
HANDLE h = (HANDLE)fd;
More information about the core-libs-dev
mailing list