]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/pick_address.cc
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / common / pick_address.cc
index 4b927ae1e2aeb0065ad620facafbb8f5e689830f..4e9f6174a0423cc4c1766e0a45863a463fb2bb9e 100644 (file)
@@ -383,7 +383,6 @@ int pick_addresses(
 
   // ipv4 and/or ipv6?
   if (addrs->v.empty()) {
-    entity_addr_t addr;
     addr.set_type(entity_addr_t::TYPE_MSGR2);
     if ((ipv & CEPH_PICK_ADDRESS_IPV4) &&
        (flags & CEPH_PICK_ADDRESS_PREFER_IPV4)) {