diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2016-02-23 19:18:48 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2016-11-09 20:45:22 +0100 |
commit | fc97f3186d3ee25939e6dd863fa058c57198ac8e (patch) | |
tree | 1d9d22e706f2a3a450ed56792362b56cd91a2fea /src | |
parent | rgw/rgw_op.h: init scalar field in ctor (diff) | |
download | ceph-fc97f3186d3ee25939e6dd863fa058c57198ac8e.tar.xz ceph-fc97f3186d3ee25939e6dd863fa058c57198ac8e.zip |
tools/cephfs/DataScan.h: init scalar field in ctor
Fix for:
CID 1313449 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member force_init is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/cephfs/DataScan.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/cephfs/DataScan.h b/src/tools/cephfs/DataScan.h index c64de0ce820..462699d2224 100644 --- a/src/tools/cephfs/DataScan.h +++ b/src/tools/cephfs/DataScan.h @@ -91,7 +91,8 @@ class RecoveryDriver { } RecoveryDriver() - : force_corrupt(false) + : force_corrupt(false), + force_init(false) {} virtual ~RecoveryDriver() {} |