]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/osd/osd_types.h
import ceph 16.2.6
[ceph.git] / ceph / src / osd / osd_types.h
index 4a13ffd9719a0a07bf27cc67c47fc4fdfb2b6b5f..eb213c1be2281a295fe96f34351bd0b0ded33c3a 100644 (file)
@@ -1596,12 +1596,12 @@ public:
   }
 
   int64_t get_dedup_tier() const {
-    int64_t tier_id;
+    int64_t tier_id = 0;
     opts.get(pool_opts_t::DEDUP_TIER, &tier_id);
     return tier_id;
   }
   int64_t get_dedup_cdc_chunk_size() const {
-    int64_t chunk_size;
+    int64_t chunk_size = 0;
     opts.get(pool_opts_t::DEDUP_CDC_CHUNK_SIZE, &chunk_size);
     return chunk_size;
   }