mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
rgw Initialize pointer field in RGWReadMDLogEntriesCR
Fixes the Coverity Scan Report: CID 1396155: Uninitialized pointer field (UNINIT_CTOR) 2. uninit_member: Non-static class member req is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
parent
f1580a7c23
commit
c0112a7a55
@ -414,7 +414,7 @@ class RGWReadMDLogEntriesCR : public RGWSimpleCoroutine {
|
||||
list<cls_log_entry> *entries;
|
||||
bool *truncated;
|
||||
|
||||
RGWAsyncReadMDLogEntries *req;
|
||||
RGWAsyncReadMDLogEntries *req{nullptr};
|
||||
|
||||
public:
|
||||
RGWReadMDLogEntriesCR(RGWMetaSyncEnv *_sync_env, RGWMetadataLog* mdlog,
|
||||
|
Loading…
Reference in New Issue
Block a user