Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04639ebc authored by Chris Manton's avatar Chris Manton
Browse files

Remove unnecesary warning on expected parsing failure

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: acts -tc BleCocTest
Test: ble paired 2 phones
Change-Id: I2310c69cf6b40e494d9aa191da590a8ea89c7e16
parent f58cce77
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -623,12 +623,11 @@ std::vector<RawAddress> btif_config_get_paired_devices() {
  result.reserve(names.size());
  for (const auto& name : names) {
    RawAddress addr = {};
    if (!RawAddress::FromString(name, addr)) {
      LOG(WARNING) << __func__ << ": " << name << " is not a valid address";
      continue;
    }
    // Gather up known devices from configuration section names
    if (RawAddress::FromString(name, addr)) {
      result.emplace_back(addr);
    }
  }
  return result;
}