Use compiler-agnostic designation of fall-through in switch/case.
This commit is contained in:
committed by
jean-pierre charras
parent
71c183d7bb
commit
44978f00e3
+2
-1
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <commit.h>
|
||||
#include <eda_item.h>
|
||||
#include <macros.h>
|
||||
|
||||
COMMIT::COMMIT()
|
||||
{
|
||||
@@ -208,7 +209,7 @@ CHANGE_TYPE COMMIT::convert( UNDO_REDO aType ) const
|
||||
|
||||
default:
|
||||
assert( false );
|
||||
// fall through
|
||||
KI_FALLTHROUGH;
|
||||
|
||||
case UNDO_REDO::CHANGED:
|
||||
return CHT_MODIFY;
|
||||
|
||||
Reference in New Issue
Block a user