Remove unused variables (Wunused-variable)
This commit is contained in:
parent
1b4aaea92a
commit
74e21e942e
@ -977,7 +977,6 @@ Editor::compute_bbt_ruler_scale (samplepos_t lower, samplepos_t upper)
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<TempoMap::BBTPoint>::const_iterator i;
|
||||
Timecode::BBT_Time lower_beat, upper_beat; // the beats at each end of the ruler
|
||||
double floor_lower_beat = floor(std::max (0.0, _session->tempo_map().beat_at_sample (lower)));
|
||||
|
||||
|
@ -278,7 +278,6 @@ Session::import_pt_rest (PTFFormat& ptf)
|
||||
uint32_t srate = sample_rate ();
|
||||
|
||||
vector<struct ptflookup> ptfregpair;
|
||||
vector<PTFFormat::wav_t>::const_iterator w;
|
||||
|
||||
SourceList just_one_src;
|
||||
|
||||
|
@ -650,7 +650,6 @@ int
|
||||
IO::set_state_2X (const XMLNode& node, int version, bool in)
|
||||
{
|
||||
XMLProperty const * prop;
|
||||
XMLNodeConstIterator iter;
|
||||
LocaleGuard lg;
|
||||
|
||||
/* force use of non-localized representation of decimal point,
|
||||
|
@ -2302,7 +2302,6 @@ Playlist::set_state (const XMLNode& node, int version)
|
||||
XMLNode* child;
|
||||
XMLNodeList nlist;
|
||||
XMLNodeConstIterator niter;
|
||||
XMLPropertyConstIterator piter;
|
||||
boost::shared_ptr<Region> region;
|
||||
string region_name;
|
||||
bool seen_region_nodes = false;
|
||||
|
@ -4746,7 +4746,6 @@ bool
|
||||
Session::audio_source_name_is_unique (const string& name)
|
||||
{
|
||||
std::vector<string> sdirs = source_search_path (DataType::AUDIO);
|
||||
vector<space_and_path>::iterator i;
|
||||
uint32_t existing = 0;
|
||||
|
||||
for (vector<string>::const_iterator i = sdirs.begin(); i != sdirs.end(); ++i) {
|
||||
@ -4890,7 +4889,6 @@ Session::new_midi_source_path (const string& base, bool need_lock)
|
||||
while (true) {
|
||||
possible_name = bump_name_once (possible_name, '-');
|
||||
|
||||
vector<space_and_path>::iterator i;
|
||||
uint32_t existing = 0;
|
||||
|
||||
for (vector<string>::const_iterator i = sdirs.begin(); i != sdirs.end(); ++i) {
|
||||
|
@ -323,7 +323,6 @@ VSTPlugin::set_state (const XMLNode& node, int version)
|
||||
_plugin->dispatcher (_plugin, effSetProgram, 0, pgm, NULL, 0);
|
||||
};
|
||||
|
||||
XMLPropertyList::const_iterator i;
|
||||
XMLNodeList::const_iterator n;
|
||||
|
||||
for (n = child->children ().begin (); n != child->children ().end (); ++n) {
|
||||
|
@ -758,7 +758,6 @@ int
|
||||
CC121::set_state (const XMLNode& node, int version)
|
||||
{
|
||||
XMLNodeList nlist;
|
||||
XMLNodeConstIterator niter;
|
||||
XMLNode const* child;
|
||||
|
||||
if (ControlProtocol::set_state (node, version)) {
|
||||
|
@ -35,11 +35,6 @@ using namespace ARDOUR;
|
||||
using namespace ArdourSurface;
|
||||
using namespace PBD;
|
||||
|
||||
/* this value is chosen to given smooth motion from 0..1.0 in about 270 degrees
|
||||
* of encoder rotation.
|
||||
*/
|
||||
static const double encoder_divider = 24.0;
|
||||
|
||||
void
|
||||
CC121::input_monitor ()
|
||||
{
|
||||
|
@ -790,7 +790,6 @@ int
|
||||
FaderPort::set_state (const XMLNode& node, int version)
|
||||
{
|
||||
XMLNodeList nlist;
|
||||
XMLNodeConstIterator niter;
|
||||
XMLNode const* child;
|
||||
|
||||
if (ControlProtocol::set_state (node, version)) {
|
||||
|
@ -808,7 +808,6 @@ FaderPort8::set_state (const XMLNode& node, int version)
|
||||
{
|
||||
DEBUG_TRACE (DEBUG::FaderPort8, "FaderPort8::set_state\n");
|
||||
XMLNodeList nlist;
|
||||
XMLNodeConstIterator niter;
|
||||
XMLNode const* child;
|
||||
|
||||
if (ControlProtocol::set_state (node, version)) {
|
||||
|
@ -803,7 +803,6 @@ GenericMidiControlProtocol::load_bindings (const string& xmlpath)
|
||||
|
||||
const XMLNodeList& children (root->children());
|
||||
XMLNodeConstIterator citer;
|
||||
XMLNodeConstIterator gciter;
|
||||
|
||||
MIDIControllable* mc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user