From 136a14848081597e94490163bdabea13c45d5bd3 Mon Sep 17 00:00:00 2001 From: SASANO Takayoshi Date: Mon, 9 Mar 2020 22:16:21 +0900 Subject: [PATCH] delete unused variable --- DMRLookup.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DMRLookup.cpp b/DMRLookup.cpp index 71ce3d3..2549e24 100644 --- a/DMRLookup.cpp +++ b/DMRLookup.cpp @@ -82,8 +82,6 @@ void CDMRLookup::stop() void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry) { - std::string callsign; - if (id == 0xFFFFFFU) { entry->clear(); entry->set(keyCALLSIGN, "ALL"); @@ -105,8 +103,7 @@ void CDMRLookup::findWithName(unsigned int id, class CUserDBentry *entry) std::string CDMRLookup::find(unsigned int id) { std::string callsign; - std::string b; - + if (id == 0xFFFFFFU) return std::string("ALL");