Reduce warnings: remove unused variables (#6499)

Removed unused variables
This commit is contained in:
Vovodroid 2024-08-22 19:02:58 +03:00 committed by GitHub
parent c6065d54fc
commit 2eb1adb719
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 21 additions and 32 deletions

View file

@ -41,7 +41,7 @@ int UserManager::parse_json(std::string payload)
//bind
if (j_pre["bind"]["command"].get<std::string>() == "bind") {
std::string dev_id;
std:; string result;
std::string result;
if (j_pre["bind"].contains("dev_id")) {
dev_id = j_pre["bind"]["dev_id"].get<std::string>();