From ea1769d711924e0d722c21a5d28b0aacde986aad Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 21 Apr 2017 16:05:24 +0200 Subject: [PATCH] Resolve potential variable name ambiguity for older compilers --- libs/surfaces/faderport8/faderport8.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaces/faderport8/faderport8.cc b/libs/surfaces/faderport8/faderport8.cc index 9f642e8171..03b0237ce1 100644 --- a/libs/surfaces/faderport8/faderport8.cc +++ b/libs/surfaces/faderport8/faderport8.cc @@ -1181,8 +1181,8 @@ FaderPort8::spill_plugins () } int n_controls = 0; set p = proc->what_can_be_automated (); - for (set::iterator i = p.begin(); i != p.end(); ++i) { - std::string n = proc->describe_parameter (*i); + for (set::iterator j = p.begin(); j != p.end(); ++j) { + std::string n = proc->describe_parameter (*j); if (n == "hidden") { continue; }