summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-14 18:33:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-14 18:33:59 +0100
commita207bb515ed949d403cadb5970b042bd57574e5f (patch)
treed80cf1078635bb53da3a0142b44daccc7c57b6fd /desktop
parente1b6ff7f622383ed4e667118107e144c6e183526 (diff)
-Werror,-Wunused-lambda-capture
Change-Id: Idb3c9673d8c20782ff2d7995aad30ed9253b5337
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 f47970d834bc..e3f517288150 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -851,7 +851,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);
}
);