diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-08 19:29:42 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-08 19:29:42 +0200 |
commit | 57a6c05eab5a8c712fd480213152c7c26f096b83 (patch) | |
tree | 54a699a616daa74af370e80308da326522e8a566 /src | |
parent | Bump spdlog version (diff) | |
download | nheko-57a6c05eab5a8c712fd480213152c7c26f096b83.tar.xz |
More unused variables in bindings
Diffstat (limited to 'src')
-rw-r--r-- | src/DeviceVerificationFlow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DeviceVerificationFlow.cpp b/src/DeviceVerificationFlow.cpp index 4350a90b..aa1a9607 100644 --- a/src/DeviceVerificationFlow.cpp +++ b/src/DeviceVerificationFlow.cpp @@ -223,9 +223,11 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *, std::map<std::string, std::string> 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]; |