Skip to content

Commit 5ab163e

Browse files
committed
os/bluestore: eliminate build warning
Fixes: https://tracker.ceph.com/issues/70802 Signed-off-by: Igor Fedotov <[email protected]>
1 parent 80d1e29 commit 5ab163e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/bluestore/Writer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ void BlueStore::Writer::_do_put_new_blobs(
10181018
extent_map_t& emap = onode->extent_map.extent_map;
10191019
uint32_t blob_size = wctx->target_blob_size;
10201020
while (bd_it != bd_end) {
1021-
Extent* le;
1021+
Extent* le = nullptr;
10221022
if (!bd_it->is_compressed()) {
10231023
// only 1st blob to write can have blob_location != logical_offset
10241024
uint32_t blob_location = p2align(logical_offset, blob_size);

0 commit comments

Comments
 (0)