]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: initialize members at RGWRados()
authorYehuda Sadeh <yehuda@inktank.com>
Thu, 27 Sep 2012 21:35:35 +0000 (14:35 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 8 Oct 2012 22:09:15 +0000 (15:09 -0700)
fixes coverity issues

Conflicts:
src/rgw/rgw_rados.h

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rados.h

index 5a83e5ff178dcae554f69d4e22289ba65790f2c7..6b421cd0b5b5a2c6a53cf1ea2db188cba48c6c73 100644 (file)
@@ -329,7 +329,8 @@ protected:
   bool pools_initialized;
 
 public:
-  RGWRados() : lock("rados_timer_lock"), timer(NULL), gc(NULL), use_gc_thread(false),
+  RGWRados() : lock("rados_timer_lock"), timer(NULL),
+               gc(NULL), use_gc_thread(false),
                num_watchers(0), watchers(NULL), watch_handles(NULL),
                bucket_id_lock("rados_bucket_id"), max_bucket_id(0),
                cct(NULL), rados(NULL),