aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2016-12-12 11:55:28 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-14 08:33:21 -0800
commitbec4f60f468ff3db1dbfe7f0c20b96117c964e0f (patch)
treec5112a6080c916b660df6983054c4e88f97837c7
parentfa4b58b73d029a074e4d7760d2978d6059c08174 (diff)
downloadpaludis-bec4f60f468ff3db1dbfe7f0c20b96117c964e0f.tar.gz
paludis-bec4f60f468ff3db1dbfe7f0c20b96117c964e0f.tar.xz
python: Fix unused arguments warnings (NFC)
Change-Id: I6b8a6ed08f894b963e153bed72aba1f18ebd51dc
-rw-r--r--python/environment.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/environment.cc b/python/environment.cc
index 8ed442bf9..6cdc82280 100644
--- a/python/environment.cc
+++ b/python/environment.cc
@@ -230,7 +230,7 @@ class EnvironmentImplementationWrapper :
}
// FIXME - Hooks are not exposed
- virtual HookResult perform_hook(const Hook & h, const std::shared_ptr<OutputManager> &) const
+ virtual HookResult perform_hook(const Hook &, const std::shared_ptr<OutputManager> &) const
PALUDIS_ATTRIBUTE((warn_unused_result))
{
return make_named_values<HookResult>(n::max_exit_status() = 0, n::output() = "");
@@ -406,7 +406,7 @@ class EnvironmentImplementationWrapper :
}
virtual QualifiedPackageName fetch_unique_qualified_package_name(
- const PackageNamePart &, const Filter & = all_filter(), const bool disambiguate = true) const
+ const PackageNamePart &, const Filter & = all_filter(), const bool /*disambiguate*/ = true) const
{
throw PythonMethodNotImplemented("EnvironmentImplementation", "fetch_unique_qualified_package_name");
}