Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
if (m && !ctx->sent_reply) {
MOSDOpReply *reply = ctx->reply;
if (reply)
- ctx->reply = NULL;
+ ctx->reply = nullptr;
else {
reply = new MOSDOpReply(m, 0, get_osdmap()->get_epoch(), 0, true);
reply->set_reply_versions(ctx->at_version,
ctx->reply->get_header().data_off = ctx->data_off;
MOSDOpReply *reply = ctx->reply;
- ctx->reply = NULL;
+ ctx->reply = nullptr;
if (result >= 0) {
if (!ctx->ignore_log_op_stats) {