diff options
author | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
commit | cd17e05e3a22614387050736c89a4727c4da0d61 (patch) | |
tree | f224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /libs/ardour/transient_detector.cc | |
parent | c03ea1fdb307fadff2b3c3f837426f1039bf5b10 (diff) |
Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/transient_detector.cc')
-rw-r--r-- | libs/ardour/transient_detector.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/transient_detector.cc b/libs/ardour/transient_detector.cc index 75e9b4c5e1..cf8557de82 100644 --- a/libs/ardour/transient_detector.cc +++ b/libs/ardour/transient_detector.cc @@ -128,13 +128,11 @@ TransientDetector::update_positions (Readable* src, uint32_t channel, AnalysisFe Plugin::FeatureSet features; Sample* data = 0; - float* bufs[1] = { 0 }; int buff_size = 1024; int step_size = 64; data = new Sample[buff_size]; - bufs[0] = data; AnalysisFeatureList::iterator i = positions.begin(); |