aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:22:56 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-26 17:22:56 +0000
commit6b194a1f6a9f227bf4d8c741c84d36b05bba4236 (patch)
tree6728b3a26794e6303e7e19880d1e661f42fd7f1a
parentbd2cb7c9702dddf4178900d5c4ba6d6989983dce (diff)
downloadpaludis-6b194a1f6a9f227bf4d8c741c84d36b05bba4236.tar.gz
paludis-6b194a1f6a9f227bf4d8c741c84d36b05bba4236.tar.xz
Remove unused parameter variables
-rw-r--r--paludis/args/args_visitor.cc2
-rw-r--r--paludis/dep_list/dep_list.cc3
-rw-r--r--paludis/repositories/portage/portage_repository_profile.cc2
3 files changed, 3 insertions, 4 deletions
diff --git a/paludis/args/args_visitor.cc b/paludis/args/args_visitor.cc
index a43f714..e2b97a8 100644
--- a/paludis/args/args_visitor.cc
+++ b/paludis/args/args_visitor.cc
@@ -77,7 +77,7 @@ void ArgsVisitor::visit(IntegerArg * const arg)
{
arg->set_argument(destringify<int>(param));
}
- catch(DestringifyError &e)
+ catch (const DestringifyError &)
{
throw BadValue("--" + arg->long_name(), param);
}
diff --git a/paludis/dep_list/dep_list.cc b/paludis/dep_list/dep_list.cc
index a517183..14d1cb2 100644
--- a/paludis/dep_list/dep_list.cc
+++ b/paludis/dep_list/dep_list.cc
@@ -535,7 +535,7 @@ DepList::AddVisitor::visit(const AnyDepAtom * const a)
d->add(*c);
return;
}
- catch (const DepListError & e)
+ catch (const DepListError &)
{
}
}
@@ -834,7 +834,6 @@ namespace
return true;
return false;
}
- return false;
}
}
diff --git a/paludis/repositories/portage/portage_repository_profile.cc b/paludis/repositories/portage/portage_repository_profile.cc
index 65ed6bd..1c70f7a 100644
--- a/paludis/repositories/portage/portage_repository_profile.cc
+++ b/paludis/repositories/portage/portage_repository_profile.cc
@@ -487,7 +487,7 @@ Implementation<PortageRepositoryProfile>::handle_profile_arch_var()
throw PortageRepositoryConfigurationError("ARCH USE '" + arch_s + "' is use masked");
#endif
}
- catch (const NameError & e)
+ catch (const NameError &)
{
throw PortageRepositoryConfigurationError("ARCH variable has invalid value '" + arch_s + "'");
}