From: Yehuda Sadeh Date: Thu, 27 Sep 2012 21:35:35 +0000 (-0700) Subject: rgw: initialize members at RGWRados() X-Git-Tag: v0.54~83^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7eb366c73bb24e67506cd265c7c5a089ad745890;p=ceph.git rgw: initialize members at RGWRados() fixes coverity issues Conflicts: src/rgw/rgw_rados.h Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rados.h b/src/rgw/rgw_rados.h index 5a83e5ff178d..6b421cd0b5b5 100644 --- a/src/rgw/rgw_rados.h +++ b/src/rgw/rgw_rados.h @@ -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),