Clean up warnings

This commit is contained in:
Rasmus Karlsson
2018-05-06 14:16:41 +02:00
parent d9c0d37bd2
commit 5efc2c38d8
7 changed files with 8 additions and 9 deletions
-2
View File
@@ -682,8 +682,6 @@ void PubSub::handleListenResponse(const rapidjson::Document &msg)
if (rj::getSafe(msg, "error", error)) {
std::string nonce;
rj::getSafe(msg, "nonce", nonce);
const auto &xd = sentMessages;
const auto &payload = sentMessages[nonce];
if (error.empty()) {
debug::Log("Successfully listened to nonce {}", nonce);