diff --git a/src/rgw/rgw_lc.h b/src/rgw/rgw_lc.h index 7ff6505a7b5c0..4c07198ca5211 100644 --- a/src/rgw/rgw_lc.h +++ b/src/rgw/rgw_lc.h @@ -242,8 +242,8 @@ WRITE_CLASS_ENCODER(RGWLifecycleConfiguration) class RGWLC { CephContext *cct; RGWRados *store; - int max_objs; - string *obj_names; + int max_objs{0}; + string *obj_names{nullptr}; std::atomic down_flag = { false }; string cookie;