aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaju Mathew <shaju@google.com>2024-02-10 23:56:04 -0800
committerShaju Mathew <shaju@google.com>2024-02-12 19:39:00 +0000
commitead5c345820f1dc55d257dfc084fca166c0faa84 (patch)
tree5bdf3efa804b8f42363ed584adaec9bb6d37215d
parent7806e425e18a48a0f9e580e381cdc86ed5478a4c (diff)
downloadadb-ead5c345820f1dc55d257dfc084fca166c0faa84.tar.gz
Removing unused accessor & the immutable attribute
Bug: N/A Test: Treehugger Change-Id: I37133c5b0cc89e94b934e87d3a67d65d9a5a0a08
-rw-r--r--client/mdnsresponder_client.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/client/mdnsresponder_client.cpp b/client/mdnsresponder_client.cpp
index f04f073f..9e238954 100644
--- a/client/mdnsresponder_client.cpp
+++ b/client/mdnsresponder_client.cpp
@@ -133,7 +133,7 @@ class ResolvedService : public AsyncServiceRef {
Initialize();
}
- D("Client version: %d Service version: %d", clientVersion_, service_version_);
+ D("Client version: %d Service version: %d", ADB_SECURE_CLIENT_VERSION, service_version_);
}
bool ConnectSecureWifiDevice() {
@@ -237,8 +237,6 @@ class ResolvedService : public AsyncServiceRef {
return adb_DNSServiceIndexByName(reg_type_.c_str());
}
- const std::string& host_target() const { return host_target_; }
-
const std::string& service_name() const { return service_name_; }
const std::string& reg_type() const { return reg_type_; }
@@ -266,7 +264,6 @@ class ResolvedService : public AsyncServiceRef {
static void RemoveDNSService(const std::string& reg_type, const std::string& service_name);
private:
- int clientVersion_ = ADB_SECURE_CLIENT_VERSION;
std::string addr_format_;
std::string service_name_;
std::string reg_type_;