mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
More unused variables in bindings
This commit is contained in:
parent
684cfacfad
commit
57a6c05eab
1 changed files with 3 additions and 1 deletions
|
@ -223,9 +223,11 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
|
||||||
std::map<std::string, std::string> key_list;
|
std::map<std::string, std::string> key_list;
|
||||||
std::string key_string;
|
std::string key_string;
|
||||||
for (const auto &mac : msg.mac) {
|
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))
|
if (key.keys.count(mac.first))
|
||||||
key_list[mac.first] = key.keys.at(mac.first);
|
key_list[mac.first] = key.keys.at(mac.first);
|
||||||
|
}
|
||||||
|
|
||||||
if (their_keys.master_keys.keys.count(mac.first))
|
if (their_keys.master_keys.keys.count(mac.first))
|
||||||
key_list[mac.first] = their_keys.master_keys.keys[mac.first];
|
key_list[mac.first] = their_keys.master_keys.keys[mac.first];
|
||||||
|
|
Loading…
Reference in a new issue