diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-01-16 16:50:40 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2022-01-16 16:50:40 +0100 |
commit | 7314bd19f9931f4611484bf6aa012a3fdb018484 (patch) | |
tree | a57b1ce8e877db72a1da42d1c6f4f938001ee330 /src/Format | |
parent | 8eada1f8c6ed0f3429324fc80239a011fb634e3e (diff) | |
download | VeraCrypt-7314bd19f9931f4611484bf6aa012a3fdb018484.tar.gz VeraCrypt-7314bd19f9931f4611484bf6aa012a3fdb018484.zip |
Windows: Remove unused variable
Diffstat (limited to 'src/Format')
-rw-r--r-- | src/Format/Tcformat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 09ea91f7..54276de7 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -11398,7 +11398,6 @@ BOOL CheckWord (char* search) wchar_t path[TC_MAX_PATH]; wchar_t tmp[TC_MAX_PATH]; wchar_t destFileName[TC_MAX_PATH] = L"password1000000.txt"; - wchar_t *destPathName; if (GetModuleFileName (NULL, path, ARRAYSIZE (path)) == 0) { @@ -11421,7 +11420,7 @@ BOOL CheckWord (char* search) } StringCbCatW(tmp, sizeof(tmp), destFileName); - std::ifstream fin(destPathName); + std::ifstream fin(tmp); std::copy(std::istream_iterator<std::string>(fin), std::istream_iterator<std::string>(), std::inserter(*this, end())); } |