mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Consistent use of abort() /* NOTREACHED */
This fixes some static analysis warnings: PBD::fatal transmitter needs to be connected to a function that aborts. This is usually the case with GUI
This commit is contained in:
parent
60bce78c7e
commit
52021bc3ca
7 changed files with 8 additions and 9 deletions
|
|
@ -87,8 +87,7 @@ PBD::new_debug_bit (const char* name)
|
|||
|
||||
if (_debug_bit >= debug_bits.size()) {
|
||||
cerr << "Too many debug bits defined, offender was " << name << endl;
|
||||
abort ();
|
||||
/*NOTREACHED*/
|
||||
abort (); /*NOTREACHED*/
|
||||
}
|
||||
|
||||
ret.set (_debug_bit++, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue