From: Danny Al-Gaaf Date: Thu, 8 Jan 2015 12:24:30 +0000 (+0100) Subject: cls_log_ops.h: ctor init cls_log_list_op::max_entries X-Git-Tag: suse_latest~36^2~9^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d8456c42678f991e58a02fc172643fd930ab28e1;p=ceph.git cls_log_ops.h: ctor init cls_log_list_op::max_entries Signed-off-by: Danny Al-Gaaf --- diff --git a/src/cls/log/cls_log_ops.h b/src/cls/log/cls_log_ops.h index 6bcb69d1334f..ad251fdcb843 100644 --- a/src/cls/log/cls_log_ops.h +++ b/src/cls/log/cls_log_ops.h @@ -33,7 +33,7 @@ struct cls_log_list_op { int max_entries; /* upperbound to returned num of entries might return less than that and still be truncated */ - cls_log_list_op() {} + cls_log_list_op() : max_entries(0) {} void encode(bufferlist& bl) const { ENCODE_START(1, 1, bl);