Skip to content

Commit

Permalink
osd: add initialization of member variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kiizawa committed Apr 3, 2021
1 parent 55ea00a commit 714fe1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osd/PrimaryLogPG.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,11 @@ class PrimaryLogPG : public PG, public PGBackend::Listener {
typedef std::shared_ptr<FlushOp> FlushOpRef;

struct CLSGatherOp {
OpContext *ctx;
OpContext *ctx = nullptr;
ObjectContextRef obc;
OpRequestRef op;
std::vector<ceph_tid_t> objecter_tids;
int rval;
int rval = 0;

CLSGatherOp(OpContext *ctx_, ObjectContextRef obc_, OpRequestRef op_)
: ctx(ctx_), obc(obc_), op(op_) {}
Expand Down

0 comments on commit 714fe1a

Please sign in to comment.