From 57a6c05eab5a8c712fd480213152c7c26f096b83 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 8 Oct 2020 19:29:42 +0200 Subject: [PATCH] More unused variables in bindings --- src/DeviceVerificationFlow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DeviceVerificationFlow.cpp b/src/DeviceVerificationFlow.cpp index 4350a90..aa1a960 100644 --- a/src/DeviceVerificationFlow.cpp +++ b/src/DeviceVerificationFlow.cpp @@ -223,9 +223,11 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, std::map key_list; std::string key_string; for (const auto &mac : msg.mac) { - for (const auto &[deviceid, key] : their_keys.device_keys) + for (const auto &[deviceid, key] : their_keys.device_keys) { + (void)deviceid; if (key.keys.count(mac.first)) key_list[mac.first] = key.keys.at(mac.first); + } if (their_keys.master_keys.keys.count(mac.first)) key_list[mac.first] = their_keys.master_keys.keys[mac.first];