From: Danny Al-Gaaf Date: Tue, 23 Feb 2016 18:40:35 +0000 (+0100) Subject: rgw/rgw_op.h: init scalar field in ctor X-Git-Tag: v11.1.0~327^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d2cfdedd8a8fda1341d820321db38991ed87bf9c;p=ceph.git rgw/rgw_op.h: init scalar field in ctor Fix for: CID 717368 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member is_truncated is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 0f4f6da792deb..44a693c10bb80 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -346,6 +346,7 @@ public: buckets_objcount = 0; buckets_size = 0; buckets_size_rounded = 0; + is_truncated = false; } int verify_permission();