summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGoraf <goraf@miranda-ng.org>2015-09-20 10:17:30 +0000
committerGoraf <goraf@miranda-ng.org>2015-09-20 10:17:30 +0000
commit983e9b9debb6a0a023c90c45e122c37402525702 (patch)
tree65dadb49073299bbab7ca8a6979787d84d09805c /plugins
parentfc71b493fff648a11d194a0803056ccd7469b6fd (diff)
"fallthrough" comments for Coverity
git-svn-id: http://svn.miranda-ng.org/main/trunk@15408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/KeyboardNotify/src/options.cpp3
-rw-r--r--plugins/SMS/src/recvdlg.cpp2
-rw-r--r--plugins/SimpleStatusMsg/src/msgbox.cpp2
3 files changed, 4 insertions, 3 deletions
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: