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/ardour/audiosource.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/ardour/audiosource.cc')
-rw-r--r-- | libs/ardour/audiosource.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/audiosource.cc b/libs/ardour/audiosource.cc index 43cbcb7464..cd061ef0ef 100644 --- a/libs/ardour/audiosource.cc +++ b/libs/ardour/audiosource.cc @@ -396,7 +396,7 @@ AudioSource::read_peaks_with_fpp (PeakData *peaks, samplecnt_t npeaks, samplepos } if (statbuf.st_size < expected_file_size) { fatal << "peak file is still truncated after rebuild" << endmsg; - /*NOTREACHED*/ + abort (); /*NOTREACHED*/ } } } |