Merge pull request #16932 from amitkumar50/cov-cls-rgw-1

cls/rgw: Initialization of uninitialized members
This commit is contained in:
Sage Weil 2017-12-29 13:40:12 -06:00 committed by GitHub
commit 874ac9c209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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() {}

View File

@ -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() {}