fix various warnings
Change-Id: Iecf54a3a0368c99705969679fe18ceda59ce4290
diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp
index 55a6929..ecfc505 100644
--- a/src/connectionmanager.cpp
+++ b/src/connectionmanager.cpp
@@ -662,7 +662,7 @@
if (auto shared = w.lock()) {
shared->connectDevice(cert,
name,
- [cb, deviceId](const std::shared_ptr<ChannelSocket>& sock, const DeviceId& did){
+ [cb, deviceId](const std::shared_ptr<ChannelSocket>& sock, const DeviceId& /*did*/){
cb(sock, deviceId);
},
noNewSocket,
@@ -771,7 +771,6 @@
}
ice_config.tcpEnable = true;
ice_config.onInitDone = [w,
- deviceId = std::move(deviceId),
devicePk = std::move(devicePk),
name = std::move(name),
cert = std::move(cert),