]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/main: null-initialize pointer members
authorCasey Bodley <cbodley@redhat.com>
Thu, 13 Oct 2022 19:08:39 +0000 (15:08 -0400)
committerCasey Bodley <cbodley@redhat.com>
Sun, 12 Mar 2023 23:05:22 +0000 (19:05 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_main.h

index bbe5143518c5602e3942c6c9cbcf622494712e46..149a61f44095464d0876a0abc13c7cd0a0c898fd 100644 (file)
@@ -63,7 +63,7 @@ class AppMain {
   std::vector<RGWFrontendConfig*> fe_configs;
   std::multimap<string, RGWFrontendConfig*> fe_map;
   std::unique_ptr<rgw::LDAPHelper> ldh;
-  OpsLogSink* olog;
+  OpsLogSink* olog = nullptr;
   RGWREST rest;
   std::unique_ptr<rgw::lua::Background> lua_background;
   std::unique_ptr<rgw::auth::ImplicitTenants> implicit_tenant_context;