From 983e9b9debb6a0a023c90c45e122c37402525702 Mon Sep 17 00:00:00 2001 From: Goraf Date: Sun, 20 Sep 2015 10:17:30 +0000 Subject: "fallthrough" comments for Coverity git-svn-id: http://svn.miranda-ng.org/main/trunk@15408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/KeyboardNotify/src/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/KeyboardNotify/src') diff --git a/plugins/KeyboardNotify/src/options.cpp b/plugins/KeyboardNotify/src/options.cpp index 92b5476380..8cc3c3706b 100644 --- a/plugins/KeyboardNotify/src/options.cpp +++ b/plugins/KeyboardNotify/src/options.cpp @@ -1174,6 +1174,7 @@ INT_PTR CALLBACK DlgProcProcesses(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM if (ProcessListAux.szFileName[i]) mir_tstrcpy(ProcessListAux.szFileName[i], szFileNameAux); } + // fallthrough case IDC_CANCELPGM: EndDialog(hwndDlg, LOWORD(wParam)); @@ -1456,7 +1457,7 @@ INT_PTR CALLBACK DlgProcXstatusList(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA XstatusListAux[i].enabled[j] = !!(TreeView_GetItemState(hwndTree, hItem, TVIS_STATEIMAGEMASK)&INDEXTOSTATEIMAGEMASK(2)); } } - } + } // fallthrough case IDC_CANCELXST: EndDialog(hwndDlg, LOWORD(wParam)); -- cgit v1.2.3