mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
cls/rgw: Initialization of unitialized members
** 1396131 Uninitialized scalar field CID 1396131 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member max_entries is not initialized in this constructor nor in any functions that it calls. ** 1396125 Uninitialized scalar field CID 1396125 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) 2. uninit_member: Non-static class member start_date is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Amit Kumar amitkuma@redhat.com
This commit is contained in:
parent
4a3a25dece
commit
421be957f8
@ -1100,7 +1100,7 @@ WRITE_CLASS_ENCODER(cls_rgw_lc_get_head_ret)
|
||||
|
||||
struct cls_rgw_lc_list_entries_op {
|
||||
string marker;
|
||||
uint32_t max_entries;
|
||||
uint32_t max_entries = 0;
|
||||
|
||||
cls_rgw_lc_list_entries_op() {}
|
||||
|
||||
|
@ -1045,7 +1045,7 @@ WRITE_CLASS_ENCODER(cls_rgw_gc_obj_info)
|
||||
|
||||
struct cls_rgw_lc_obj_head
|
||||
{
|
||||
time_t start_date;
|
||||
time_t start_date = 0;
|
||||
string marker;
|
||||
|
||||
cls_rgw_lc_obj_head() {}
|
||||
|
Loading…
Reference in New Issue
Block a user