From: Danny Al-Gaaf Date: Wed, 23 Sep 2015 12:27:15 +0000 (+0200) Subject: mon/OSDMonitor.h: fix UNINIT_CTOR X-Git-Tag: v10.0.4~86^2~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=06956298b46d59fba516312948faaf00debdc03c;p=ceph.git mon/OSDMonitor.h: fix UNINIT_CTOR Remove unused variable 'CephContext *cct'. Fix for: CID 1322818 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR) uninit_member: Non-static class member cct is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/mon/OSDMonitor.h b/src/mon/OSDMonitor.h index 6c9e0678623..36d6ae7b810 100644 --- a/src/mon/OSDMonitor.h +++ b/src/mon/OSDMonitor.h @@ -386,7 +386,6 @@ private: bool preprocess_remove_snaps(MonOpRequestRef op); bool prepare_remove_snaps(MonOpRequestRef op); - CephContext *cct; OpTracker op_tracker; int load_metadata(int osd, map& m, ostream *err);