VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume/WinMain.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-08 22:36:01 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-02-09 10:01:11 (GMT)
commitde0c30dded45ea9956a2e7b241ce16641b30492f (patch)
treecb2d39b7c73b02d1180e57877f21641682c29e6f /src/ExpandVolume/WinMain.cpp
parent1ab00f3e3cac1754abcb1d91edf01198b24a32a2 (diff)
downloadVeraCrypt-de0c30dded45ea9956a2e7b241ce16641b30492f.zip
VeraCrypt-de0c30dded45ea9956a2e7b241ce16641b30492f.tar.gz
Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations.
Diffstat (limited to 'src/ExpandVolume/WinMain.cpp')
-rw-r--r--src/ExpandVolume/WinMain.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp
index 7940b3d..f107c98 100644
--- a/src/ExpandVolume/WinMain.cpp
+++ b/src/ExpandVolume/WinMain.cpp
@@ -817,7 +817,6 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
{
static UINT taskBarCreatedMsg;
WORD lw = LOWORD (wParam);
- WORD hw = HIWORD (wParam);
switch (uMsg)
{