mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44: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
|
|
@ -274,7 +274,7 @@ int main (int argc, char* argv[])
|
|||
settings._sample_format = ExportFormatBase::SF_Float;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
/* fallthrough */
|
||||
default:
|
||||
fprintf(stderr, "Invalid Bit Depth\n");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue