dhtrunner: fix minor warning

This commit is contained in:
Adrien Béraud committed 2019-07-01 23:22:00 -04:00
1 parent 27b3c0d47e
commit 0d641161e8
1 file changed
+1 -1
+1 -1
View File
@@ -225,7 +225,7 @@ DhtRunner::shutdown(ShutdownCallback cb) {
dht_via_proxy_->shutdown(cb);
#endif
std::lock_guard<std::mutex> lck(storage_mtx);
pending_ops_prio.emplace([=](SecureDht& dht) mutable {
pending_ops_prio.emplace([=](SecureDht&) mutable {
if (dht_)
dht_->shutdown(cb);
});