message: [discovery-proxy] nit changes
diff: @@ -91,7 +91,6 @@ void DiscoveryProxy::OnDiscoveryProxySubscribe(void *aContext, const char *aFull
  void DiscoveryProxy::OnDiscoveryProxySubscribe(const char *aFullName)
  {
  std::string fullName(aFullName);
  - otbrError error = OTBR_ERROR_NONE;
  DnsNameInfo nameInfo = SplitFullDnsName(fullName);
  otbrLogInfo("subscribe: %s", fullName.c_str());
  @@ -107,11 +106,6 @@ void DiscoveryProxy::OnDiscoveryProxySubscribe(const char *aFullName)
  mMdnsPublisher.SubscribeHost(nameInfo.mHostName);
  }
  }
  -
  - if (error != OTBR_ERROR_NONE)
  - {
  - otbrLogWarning("failed to subscribe %s: %s", fullName.c_str(), otbrErrorString(error));
  - }
  }
  void DiscoveryProxy::OnDiscoveryProxyUnsubscribe(void *aContext, const char *aFullName)
  @@ -122,7 +116,6 @@ void DiscoveryProxy::OnDiscoveryProxyUnsubscribe(void *aContext, const char *aFu
  void DiscoveryProxy::OnDiscoveryProxyUnsubscribe(const char *aFullName)
  {
  std::string fullName(aFullName);
  - otbrError error = OTBR_ERROR_NONE;
  DnsNameInfo nameInfo = SplitFullDnsName(fullName);
  otbrLogInfo("unsubscribe: %s", fullName.c_str());
  @@ -138,10 +131,6 @@ void DiscoveryProxy::OnDiscoveryProxyUnsubscribe(const char *aFullName)
  mMdnsPublisher.UnsubscribeHost(nameInfo.mHostName);
  }
  }
  - if (error != OTBR_ERROR_NONE)
  - {
  - otbrLogWarning("failed to unsubscribe %s: %s", fullName.c_str(), otbrErrorString(error));
  - }
  }
  void DiscoveryProxy::OnServiceDiscovered(const std::string & aType,
  @@ -209,11 +198,11 @@ void DiscoveryProxy::OnServiceDiscovered(const std::string &
  if (serviceName == aType && (instanceName.empty() || instanceName == unescapedInstanceName))
  {
  std::string serviceFullName = aType + "." + domain;
  - std::string hostName = TranslateDomain(aInstanceInfo.mHostName, domain);
  + std::string translatedHostName = TranslateDomain(aInstanceInfo.mHostName, domain);
  std::string instanceFullName = unescapedInstanceName + "." + serviceFullName;
  instanceInfo.mFullName = instanceFullName.c_str();
  - instanceInfo.mHostName = hostName.c_str();
  + instanceInfo.mHostName = translatedHostName.c_str();
  otDnssdQueryHandleDiscoveredServiceInstance(mNcp.GetInstance(), serviceFullName.c_str(), &instanceInfo);
  }
  