diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-29 20:40:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-29 20:40:52 +0000 |
commit | dbf3ba2d73dfa2b3230ff5829e4a4a49c7c5ba5f (patch) | |
tree | d8511ecc93e977ca7afe03bd2a950add779f4aab /libs/ardour/source.cc | |
parent | 501db4747bd00a5f4ff8664a1375b93e3ea2c367 (diff) |
allow zero-length SMF files on disk again; fix some gcc 4.X optimization-on compile warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@7329 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/source.cc')
-rw-r--r-- | libs/ardour/source.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/source.cc b/libs/ardour/source.cc index 894233f436..f819e6eb42 100644 --- a/libs/ardour/source.cc +++ b/libs/ardour/source.cc @@ -277,8 +277,8 @@ Source::dec_use_count () { #ifndef NDEBUG gint oldval = g_atomic_int_exchange_and_add (&_use_count, -1); - cerr << "Bad use dec for " << name() << endl; if (oldval <= 0) { + cerr << "Bad use dec for " << name() << endl; abort (); } assert (oldval > 0); |