]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls_log_ops.h: ctor init cls_log_list_op::max_entries
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 8 Jan 2015 12:24:30 +0000 (13:24 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 3 Feb 2015 21:51:07 +0000 (22:51 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/cls/log/cls_log_ops.h

index 6bcb69d1334f705bbeb283c977e6d2cd8ae03700..ad251fdcb8439bee2fa391e0f639c50d69414a67 100644 (file)
@@ -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);