diff options
author | John Högberg <[email protected]> | 2018-10-11 09:57:16 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-10-11 10:00:53 +0200 |
commit | 18b4828030e049a641e732785b081ff44576c9c8 (patch) | |
tree | 72f8bd5eaf6b33d5f1efd5e089d7a31d23b29c67 | |
parent | 377f19f25aeec6939a6728bd0c4910086c22ccdc (diff) | |
download | otp-18b4828030e049a641e732785b081ff44576c9c8.tar.gz otp-18b4828030e049a641e732785b081ff44576c9c8.tar.bz2 otp-18b4828030e049a641e732785b081ff44576c9c8.zip |
erts: Fix a compiler warning
This would've been a bug if the value was used.
-rw-r--r-- | erts/emulator/nifs/win32/win_prim_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/nifs/win32/win_prim_file.c b/erts/emulator/nifs/win32/win_prim_file.c index f7fae3c637..0c51a21ee1 100644 --- a/erts/emulator/nifs/win32/win_prim_file.c +++ b/erts/emulator/nifs/win32/win_prim_file.c @@ -687,7 +687,7 @@ static int is_name_surrogate(const efile_path_t *path) { if(handle != INVALID_HANDLE_VALUE) { REPARSE_GUID_DATA_BUFFER reparse_buffer; - LPDWORD unused_length; + DWORD unused_length; BOOL success; success = DeviceIoControl(handle, |