* minor cleanup
authorHans Baier <hansfbaier@googlemail.com>
Mon, 1 Dec 2008 03:51:17 +0000 (03:51 +0000)
committerHans Baier <hansfbaier@googlemail.com>
Mon, 1 Dec 2008 03:51:17 +0000 (03:51 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4277 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ticker.cc

index ff367c0e581e3c0001104415432b468f04edbd83..615ce659cf4703d191f9820b461935550bdb93ca 100644 (file)
@@ -104,13 +104,11 @@ void MidiClockTicker::position_changed(nframes_t position)
 
 void MidiClockTicker::transport_looped()
 {
-       nframes_t position  = _session->transport_frame();
-       
        Location* loop_location = _session->locations()->auto_loop_location();
        assert(loop_location);
 
 #if DEBUG_TICKER       
-       cerr << "Transport looped, position:" <<  position 
+       cerr << "Transport looped, position:" <<  p_session->transport_frame()
             << " loop start " << loop_location->start( )
             << " loop end " << loop_location->end( )
             << " play loop " << _session->get_play_loop()