]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librgw: initialize RGWLib pointer members
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 1 Feb 2016 20:39:43 +0000 (15:39 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:08:28 +0000 (12:08 -0500)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lib.h

index 1a75e379e7160e3b0ead2e9c084b0e3f28a53a55..9cea8e40242bfe80bc897b6a0bc11260770b6110 100644 (file)
@@ -29,7 +29,8 @@ namespace rgw {
     RGWRados* store;
 
   public:
-    RGWLib() {}
+    RGWLib() : fec(nullptr), fe(nullptr), olog(nullptr), store(nullptr)
+      {}
     ~RGWLib() {}
 
     RGWRados* get_store() { return store; }