diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-15 00:41:07 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-15 00:41:07 +0100 |
commit | 43ad4f93eb2c64bb2c278cdbefdfe0250293868e (patch) | |
tree | 838b3dd1d2ff69c3e7d162d0347d08435c745cb5 /src/Setup/Setup.c | |
parent | 117d8dd046fcfc8e85c8aadf96556eb9f445695c (diff) | |
download | VeraCrypt-43ad4f93eb2c64bb2c278cdbefdfe0250293868e.tar.gz VeraCrypt-43ad4f93eb2c64bb2c278cdbefdfe0250293868e.zip |
Windows: Fix various compiler warnings
Diffstat (limited to 'src/Setup/Setup.c')
-rw-r--r-- | src/Setup/Setup.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c index 43ea971b..f6c1fb62 100644 --- a/src/Setup/Setup.c +++ b/src/Setup/Setup.c @@ -1646,7 +1646,6 @@ BOOL DoDriverUnload (HWND hwndDlg) if (hDriver != INVALID_HANDLE_VALUE) { - MOUNT_LIST_STRUCT driver; LONG driverVersion = VERSION_NUM; int refCount; DWORD dwResult; @@ -1895,7 +1894,7 @@ error: return bOK; } -BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL bDesktopIcon) +BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL bUseDesktopIcon) { wchar_t szLinkDir[TC_MAX_PATH], szDir[TC_MAX_PATH]; wchar_t szTmp[TC_MAX_PATH], szTmp2[TC_MAX_PATH]; @@ -1903,7 +1902,7 @@ BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL HRESULT hOle; int x; - if (bProgGroup == FALSE && bDesktopIcon == FALSE) + if (bProgGroup == FALSE && bUseDesktopIcon == FALSE) return TRUE; hOle = OleInitialize (NULL); @@ -1982,7 +1981,7 @@ BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL StatDeleteFile (szTmp2, FALSE); } - if (bDesktopIcon) + if (bUseDesktopIcon) { StringCbCopyW (szDir, sizeof(szDir), szDestDir); x = wcslen (szDestDir); |