diff options
author | Matt Benjamin <mbenjamin@redhat.com> | 2024-10-12 16:01:57 +0200 |
---|---|---|
committer | Matt Benjamin <mbenjamin@redhat.com> | 2025-01-08 01:16:46 +0100 |
commit | ed6134c0b0b928b5587290dadab051c078e1237e (patch) | |
tree | 674899cfa8887a51616de0dcbad3fcf2443bcd91 /src/rgw | |
parent | rgw: implement GetObjectAttributes (diff) | |
download | ceph-ed6134c0b0b928b5587290dadab051c078e1237e.tar.xz ceph-ed6134c0b0b928b5587290dadab051c078e1237e.zip |
rgw_cksum: zero-initialize GetObjAttrs integral members
(code review)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to 'src/rgw')
-rw-r--r-- | src/rgw/rgw_op.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 3d525b32c4e..d131fdf0b2b 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -1649,9 +1649,9 @@ class RGWGetObjAttrs : public RGWGetObj { protected: std::string version_id; std::string expected_bucket_owner; - int marker; - int max_parts; - uint16_t requested_attributes; + int marker{0}; + int max_parts{0}; + uint16_t requested_attributes{0}; #if 0 /* used to decrypt attributes for objects stored with SSE-C */ x-amz-server-side-encryption-customer-algorithm |