Introduce new KI_FALLTHROUGH macro
Annotate purposeful fallthroughs in switch statements with the KI_FALLTHROUGH macro.
This commit is contained in:
@@ -324,8 +324,8 @@ void PSLIKE_PLOTTER::fputsPostscriptString(FILE *fout, const wxString& txt)
|
||||
case ')':
|
||||
case '\\':
|
||||
putc( '\\', fout );
|
||||
KI_FALLTHROUGH;
|
||||
|
||||
// FALLTHRU
|
||||
default:
|
||||
putc( ch, fout );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user