summaryrefslogtreecommitdiff
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
parentfc71b493fff648a11d194a0803056ccd7469b6fd (diff)
"fallthrough" comments for Coverity
git-svn-id: http://svn.miranda-ng.org/main/trunk@15408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/KeyboardNotify/src/options.cpp3
-rw-r--r--plugins/SMS/src/recvdlg.cpp2
-rw-r--r--plugins/SimpleStatusMsg/src/msgbox.cpp2
-rw-r--r--protocols/MRA/src/Mra_functions.cpp2
4 files changed, 5 insertions, 4 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:
diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp
index 2031f3ad84..23b3abe993 100644
--- a/protocols/MRA/src/Mra_functions.cpp
+++ b/protocols/MRA/src/Mra_functions.cpp
@@ -1162,7 +1162,7 @@ INT_PTR CALLBACK SendReplyBlogStatusDlgProc(HWND hWndDlg, UINT message, WPARAM w
dwBlogStatusID = 0;
}
dat->ppro->MraChangeUserBlogStatus(dwFlags, szBuff, dwBlogStatusID);
- }
+ } // fallthrough
case IDCANCEL:
DestroyWindow(hWndDlg);
break;