diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-18 05:57:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-18 05:57:26 +0200 |
commit | 52021bc3ca1fe176cc32a0fcbc37b375a49d2bfc (patch) | |
tree | 039d099ee0e41afe00e659406a0a619b0f9fd5eb /libs/pbd/debug.cc | |
parent | 60bce78c7e06676917c52dc0e62c2d92169d391e (diff) |
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
Diffstat (limited to 'libs/pbd/debug.cc')
-rw-r--r-- | libs/pbd/debug.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc index 1c28b86b5d..39fa600899 100644 --- a/libs/pbd/debug.cc +++ b/libs/pbd/debug.cc @@ -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); |