diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-02-08 23:36:01 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-02-09 11:01:11 +0100 |
commit | de0c30dded45ea9956a2e7b241ce16641b30492f (patch) | |
tree | cb2d39b7c73b02d1180e57877f21641682c29e6f /src/Common/Cmdline.c | |
parent | 1ab00f3e3cac1754abcb1d91edf01198b24a32a2 (diff) | |
download | VeraCrypt-de0c30dded45ea9956a2e7b241ce16641b30492f.tar.gz VeraCrypt-de0c30dded45ea9956a2e7b241ce16641b30492f.zip |
Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations.
Diffstat (limited to 'src/Common/Cmdline.c')
-rw-r--r-- | src/Common/Cmdline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c index f1f9a8fc..a455b982 100644 --- a/src/Common/Cmdline.c +++ b/src/Common/Cmdline.c @@ -27,8 +27,8 @@ not. - see DialogProc */
BOOL CALLBACK CommandHelpDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- if (lParam); /* remove warning */
- if (wParam); /* remove warning */
+ UNREFERENCED_PARAMETER (lParam); /* remove warning */
+ UNREFERENCED_PARAMETER (wParam); /* remove warning */
switch (msg)
{
|