adding wxFALLTHROUGH where until now we had comments, allows for code-analysis support

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-04-26 17:36:32 +00:00
parent 6c6362401c
commit f18d7097da
55 changed files with 103 additions and 100 deletions

View File

@@ -237,7 +237,7 @@ wxMutexInternal::wxMutexInternal(wxMutexType mutexType)
default:
wxFAIL_MSG( wxT("unknown mutex type") );
// fall through
wxFALLTHROUGH;
case wxMUTEX_DEFAULT:
err = pthread_mutex_init(&m_mutex, NULL);
@@ -1543,7 +1543,7 @@ wxThreadError wxThread::Delete(ExitCode *rc, wxThreadWait WXUNUSED(waitMode))
// PthreadStart()
m_internal->SignalRun();
// fall through
wxFALLTHROUGH;
case STATE_EXITED:
// nothing to do
@@ -1553,7 +1553,7 @@ wxThreadError wxThread::Delete(ExitCode *rc, wxThreadWait WXUNUSED(waitMode))
// resume the thread first
m_internal->Resume();
// fall through
wxFALLTHROUGH;
default:
if ( !isDetached )
@@ -1595,7 +1595,7 @@ wxThreadError wxThread::Kill()
// resume the thread first
Resume();
// fall through
wxFALLTHROUGH;
default:
#ifdef HAVE_PTHREAD_CANCEL