From: Danny Al-Gaaf Date: Mon, 28 Sep 2015 13:41:20 +0000 (+0200) Subject: src/ceph_fuse.cc: init members in ctor X-Git-Tag: v10.0.4~86^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=27383684e1bb0fb1e7d18dbd8727a0dd1b4aa159;p=ceph.git src/ceph_fuse.cc: init members in ctor There is no need to call parent class ctor directly in ctor init list. Instead init some missing members. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index e66fe65ca90f..27f430d5a1b5 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -139,7 +139,7 @@ int main(int argc, const char **argv, const char *envp[]) { public: CephFuse *cfuse; Client *client; - RemountTest() : Thread() {} + RemountTest() : cfuse(NULL), client(NULL) {} void init(CephFuse *cf, Client *cl) { cfuse = cf; client = cl;