Commit 7b6fa277 authored by Brad King's avatar Brad King

ConsoleBuf: Add explicit switch case fallthrough markup

Fix `-Wimplicit-fallthrough` warnings.
parent fa1ab7b8
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment