summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-14 18:33:59 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:07:54 -0500
commit336d4ea59f5807e1bc5683c261cbbdc6088171eb (patch)
treee4d0f90344d9562418ea2f9a64a07fbb5e162593 /desktop
parenteb3dd8fbb2ffd8465dcfd43f81445489054e91e5 (diff)
-Werror,-Wunused-lambda-capture
Change-Id: Idb3c9673d8c20782ff2d7995aad30ed9253b5337 (cherry picked from commit a207bb515ed949d403cadb5970b042bd57574e5f) (cherry picked from commit abc7959a1902565d1f8ed1cb7d8f8c976af8cbcf)
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0256126c19d6..0dc4b38dab6e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1031,7 +1031,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
{
const std::string name = payload.substr(0, pos + 1);
removeAll(
- [type, &payload, &name] (const queue_type::value_type& elem) {
+ [type, &name] (const queue_type::value_type& elem) {
return (elem.first == type) && (elem.second.compare(0, name.size(), name) == 0);
}
);