1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00

Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations.

This commit is contained in:
Mounir IDRASSI
2015-02-08 23:36:01 +01:00
parent 1ab00f3e3c
commit de0c30dded
10 changed files with 23 additions and 18 deletions

View File

@@ -157,7 +157,7 @@ void LoadCombo (HWND hComboBox)
void DumpCombo (HWND hComboBox, int bClear)
{
FILE *f;
int i, nComboIdx[SIZEOF_MRU_LIST];
int i, nComboIdx[SIZEOF_MRU_LIST] = {0};
if (bClear)
{