diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-28 15:01:01 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-28 15:01:01 +0000 |
commit | 267cfbe731debe3f3be88375bce34644ac7c6323 (patch) | |
tree | 5e5dcc0868c483604aa94e83fbe1a4a7e28a091a /libs/ardour/audioregion.cc | |
parent | 9e5f5ed0ee6d885808d1f0e4a5d2e2abd52958f1 (diff) |
No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@8988 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audioregion.cc')
-rw-r--r-- | libs/ardour/audioregion.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/audioregion.cc b/libs/ardour/audioregion.cc index cb3e00cea9..fd98c602bb 100644 --- a/libs/ardour/audioregion.cc +++ b/libs/ardour/audioregion.cc @@ -1540,7 +1540,6 @@ AudioRegion::find_silence (Sample threshold, framecnt_t min_length, InterThreadI bool in_silence = false; frameoffset_t silence_start = 0; - bool silence; while (pos < end && !itt.cancel) { @@ -1556,7 +1555,7 @@ AudioRegion::find_silence (Sample threshold, framecnt_t min_length, InterThreadI /* now look for silence */ for (framecnt_t i = 0; i < block_size; ++i) { - silence = abs (loudest[i]) < threshold; + bool const silence = abs (loudest[i]) < threshold; if (silence && !in_silence) { /* non-silence to silence */ in_silence = true; |