aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-07 22:19:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-07 22:19:00 +0300
commit387137644bae262e7f13ed937e2c1250e5030307 (patch)
tree0041346c22c7588684a92fc0f269eb8ddc538e7b /mod
parent9a9261c467eae0f9ca7b1aea050964dd19ea2efb (diff)
Fix 'lambda capture is not used' warning
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-build-result.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx
index 7f73172..8b985be 100644
--- a/mod/mod-build-result.cxx
+++ b/mod/mod-build-result.cxx
@@ -409,7 +409,7 @@ handle (request& rq, response&)
// Send notification emails to the interested parties.
//
- auto send_email = [&pkg, &bld, &subj, &error, &trace, &print_args, this]
+ auto send_email = [&bld, &subj, &error, &trace, &print_args, this]
(const string& to)
{
try