From de0c30dded45ea9956a2e7b241ce16641b30492f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 8 Feb 2015 23:36:01 +0100 Subject: Static Code Analysis: handle unused variables more properly. Catch STL exception. Add more checks. Add proper cast to arithmetic operations. --- src/Common/Combo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/Combo.c') diff --git a/src/Common/Combo.c b/src/Common/Combo.c index 850cd020..cc1d5bbf 100644 --- a/src/Common/Combo.c +++ b/src/Common/Combo.c @@ -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) { -- cgit v1.2.3