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 ++- plugins/SMS/src/recvdlg.cpp | 2 +- plugins/SimpleStatusMsg/src/msgbox.cpp | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins') 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)); diff --git a/plugins/SMS/src/recvdlg.cpp b/plugins/SMS/src/recvdlg.cpp index af6cb3ae07..bfd3dd5968 100644 --- a/plugins/SMS/src/recvdlg.cpp +++ b/plugins/SMS/src/recvdlg.cpp @@ -138,7 +138,7 @@ INT_PTR CALLBACK RecvSmsDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARA hwndSendSms = SendSMSWindowAdd(prswdWindowData->hContact); SetDlgItemText(hwndSendSms, IDC_ADDRESS, wszPhone); } - } + } // fallthrough case IDCANCEL: RecvSMSWindowRemove(hWndDlg); break; diff --git a/plugins/SimpleStatusMsg/src/msgbox.cpp b/plugins/SimpleStatusMsg/src/msgbox.cpp index 5c448a8195..6680612052 100644 --- a/plugins/SimpleStatusMsg/src/msgbox.cpp +++ b/plugins/SimpleStatusMsg/src/msgbox.cpp @@ -1269,7 +1269,7 @@ INT_PTR CALLBACK AwayMsgBoxDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA else SetStatusMessage(msgbox_data->m_szProto, msgbox_data->m_iInitialStatus, msgbox_data->m_iStatus, tszMsg, msgbox_data->m_bOnStartup); } - } + } // fallthrough case IDCANCEL: case IDC_CANCEL: -- cgit v1.2.3