]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: init RGWRados::cct in ctor
authorSage Weil <sage@inktank.com>
Fri, 24 Aug 2012 23:27:57 +0000 (16:27 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 Aug 2012 20:11:34 +0000 (13:11 -0700)
Coverity cid 717382
Signed-off-by: Sage Weil <sage@inktank.com>
src/rgw/rgw_rados.h

index 50f07b893b46b34951b6cff92e126704e77d9904..fc0c3e5613e5351fcefd561763429b1d99a75ecb 100644 (file)
@@ -294,9 +294,9 @@ protected:
   librados::IoCtx gc_pool_ctx;        // .rgw.gc
 
 public:
-  RGWRados() : lock("rados_timer_lock"), timer(NULL), gc(NULL), use_gc_thread(false),
-               num_watchers(0), watchers(NULL), watch_handles(0),
-               bucket_id_lock("rados_bucket_id"), max_bucket_id(0), rados(NULL) {}
+  RGWRados() : lock("rados_timer_lock"), timer(NULL), num_watchers(0), watchers(NULL), watch_handles(NULL),
+               bucket_id_lock("rados_bucket_id"), max_bucket_id(0),
+              cct(NULL), rados(NULL) {}
   virtual ~RGWRados() {}
 
   void tick();