Skip to content

Commit 49f7f29

Browse files
authored
Merge pull request ceph#62828 from ifed01/wip-ifed-fix-70802
os/bluestore: eliminate build warning Reviewed-by: Kefu Chai <[email protected]> Reviewed-by: Adam Kupczyk<[email protected]>
2 parents 91c7007 + 5ab163e commit 49f7f29

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)