foxygit / doom Log in
commit 3315c14ecb4005741857c379b80f007f0940b06c
Author:     Roman Fomin <rfomin@gmail.com>
AuthorDate: Wed Sep 11 21:08:07 2024 +0700
Commit:     Roman Fomin <rfomin@gmail.com>
CommitDate: Wed Sep 11 21:08:07 2024 +0700

    Remove unused variable.
---
 win32/win_opendir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/win32/win_opendir.c b/win32/win_opendir.c
index f69b05ba..0c7c91ed 100644
--- a/win32/win_opendir.c
+++ b/win32/win_opendir.c
@@ -174,7 +174,6 @@ static DIR *__internal_opendir(wchar_t *wname, int size)
 {
     struct __dir *data = NULL;
     struct dirent *tmp_entries = NULL;
-    static wchar_t *prefix = L"\\\\?\\";
     static wchar_t *suffix = L"\\*.*";
     static int extra_prefix = 4; /* use prefix "\\?\" to handle long file names */
     static int extra_suffix = 4; /* use suffix "\*.*" to find everything */