Skip to content
Snippets Groups Projects
Commit 7b6fa277 authored by Brad King's avatar Brad King
Browse files

ConsoleBuf: Add explicit switch case fallthrough markup

Fix `-Wimplicit-fallthrough` warnings.
parent fa1ab7b8
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,7 @@ private:
if (m_isConsoleInput) {
break;
}
@KWSYS_NAMESPACE@_FALLTHROUGH;
case FILE_TYPE_PIPE:
m_activeInputCodepage = input_pipe_codepage;
break;
......@@ -290,6 +291,7 @@ private:
if (m_isConsoleOutput) {
break;
}
@KWSYS_NAMESPACE@_FALLTHROUGH;
case FILE_TYPE_PIPE:
m_activeOutputCodepage = output_pipe_codepage;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment