[PATCH 1/1] ntdll: Remove unnecessary call to strlen from get_dos_device
Alex Henrie
alexhenrie24 at gmail.com
Thu Dec 10 23:18:18 CST 2020
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/ntdll/unix/file.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
index 6d6edfe8926..a4c6bf4a137 100644
--- a/dlls/ntdll/unix/file.c
+++ b/dlls/ntdll/unix/file.c
@@ -2812,7 +2812,6 @@ static NTSTATUS get_dos_device( const WCHAR *name, UINT name_len, char **unix_na
if (!new_name) break;
free( unix_name );
unix_name = new_name;
- unix_len = strlen(unix_name) + 1;
dev = NULL; /* last try */
}
free( unix_name );
--
2.29.2
More information about the wine-devel
mailing list