fixes for 98% of all the warnings/errors reported by OS X gcc on tiger

git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-09-30 17:55:14 +00:00
parent 15e390ebe5
commit 0938a42440
100 changed files with 239 additions and 224 deletions

View file

@ -96,10 +96,9 @@ AudioRegionEditor::AudioRegionEditor (Session* s, boost::shared_ptr<AudioRegion>
AudioRegionEditor::~AudioRegionEditor ()
{
pthread_cancel_one (_peak_amplitude_thread_handle);
void* v;
int const r = pthread_join (_peak_amplitude_thread_handle, &v);
assert (r == 0);
pthread_cancel_one (_peak_amplitude_thread_handle);
pthread_join (_peak_amplitude_thread_handle, &v);
}
void