summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
commitcd17e05e3a22614387050736c89a4727c4da0d61 (patch)
treef224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /libs/ardour/session_process.cc
parentc03ea1fdb307fadff2b3c3f837426f1039bf5b10 (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/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 8a677105bd..9c37e0a09c 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -182,15 +182,9 @@ int
Session::silent_process_routes (pframes_t nframes, bool& need_butler)
{
bool record_active = actively_recording();
- int declick = get_transport_declick_required();
bool rec_monitors = get_rec_monitors_input();
boost::shared_ptr<RouteList> r = routes.reader ();
- if (transport_sub_state & StopPendingCapture) {
- /* force a declick out */
- declick = -1;
- }
-
const framepos_t start_frame = _transport_frame;
const framepos_t end_frame = _transport_frame + lrintf(nframes * _transport_speed);
@@ -705,7 +699,6 @@ Session::track_slave_state (float slave_speed, framepos_t slave_transport_frame,
memset (delta_accumulator, 0, sizeof (int32_t) * delta_accumulator_size);
average_slave_delta = 0L;
- this_delta = 0;
}
}