aboutsummaryrefslogtreecommitdiff
path: root/load
diff options
context:
space:
mode:
Diffstat (limited to 'load')
-rw-r--r--load/load.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/load/load.cxx b/load/load.cxx
index 0468565..2fb50c0 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -454,7 +454,7 @@ load_packages (const shared_ptr<repository>& rp,
// repository is of a type other than pkg) or if the type is not
// recognized (can only happen in the "ignore unknown" mode).
//
- auto to_typed_text = [&cl, &p, ignore_unknown] (typed_text_file&& v)
+ auto to_typed_text = [&cl, ignore_unknown] (typed_text_file&& v)
{
optional<typed_text> r;