mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +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
|
|
@ -681,9 +681,9 @@ LuaTableRef::set (lua_State* L)
|
|||
}
|
||||
// invalid userdata -- fall through
|
||||
}
|
||||
/* fall through */
|
||||
/* fallthrough */
|
||||
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
|
||||
/* fall through */
|
||||
/* fallthrough */
|
||||
case LUA_TTABLE: // no nested tables, sorry.
|
||||
case LUA_TNIL:
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue