]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/ceph_fuse.cc: init members in ctor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 28 Sep 2015 13:41:20 +0000 (15:41 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 29 Jan 2016 20:51:17 +0000 (21:51 +0100)
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 <danny.al-gaaf@bisect.de>
src/ceph_fuse.cc

index e66fe65ca90f4c8ba22fe1e0d74a1d320def3eb4..27f430d5a1b5ddb981cb111e98b9afb7b9e2a953 100644 (file)
@@ -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;