diff options
author | Carl Hetherington <carl@carlh.net> | 2009-11-12 02:21:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-11-12 02:21:11 +0000 |
commit | c4c25e19bc75354ffc69e258c9f167ad586a1cd9 (patch) | |
tree | 4920468ffa3ee084ab59280bf02c48f4034137db /libs/ardour/tempo.cc | |
parent | c3d8d38f7f96667b415e2808e202fbb9227207c9 (diff) |
Fix uninitialised variable in BBT maths.
git-svn-id: svn://localhost/ardour2/branches/3.0@6069 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r-- | libs/ardour/tempo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index da7706aaf5..b8144d6e3c 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -1688,7 +1688,7 @@ BBT_Time TempoMap::bbt_add (const BBT_Time& start, const BBT_Time& other, const TempoMetric& metric) const { BBT_Time result = start; - BBT_Time op = op; + BBT_Time op = other; uint32_t ticks = result.ticks + op.ticks; if (ticks >= Meter::ticks_per_beat) { |