mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
NO-OP: fix some Wimplicit-fallthrough
gcc can recognize various regexps in comments. Since C++17 provides [[fallthrough]], using /* fallthrough */ consistently seems appropriate until we switch to C++17. see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
This commit is contained in:
parent
37194ec805
commit
e0d5c1426c
15 changed files with 37 additions and 23 deletions
|
|
@ -155,10 +155,11 @@ class LuaTableRef {
|
|||
// invalid userdata -- fall through
|
||||
}
|
||||
|
||||
/* fall through */
|
||||
/* fallthrough */
|
||||
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
|
||||
case LUA_TTABLE: // no nested tables, sorry.
|
||||
case LUA_TNIL: // fallthrough
|
||||
case LUA_TNIL:
|
||||
/* fallthrough */
|
||||
default:
|
||||
// invalid value
|
||||
lua_pop (L, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue