Fix GCC 7 warnings
From -Wimplicit-fallthrough which is now enabled by -W.
This commit is contained in:
parent
76d1aac47a
commit
7a3cfdb013
3 changed files with 5 additions and 7 deletions
|
|
@ -1419,9 +1419,8 @@ public:
|
|||
case DESTRUCTOR:
|
||||
case CLASS_CONST:
|
||||
case STATIC_VAR:
|
||||
assert(false); // Should not have gotten here for these types
|
||||
default:
|
||||
assert(false);
|
||||
assert(false); // Should not have gotten here for these types
|
||||
}
|
||||
|
||||
defineAliases(n, iname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue