]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_torrent.h
update sources to v12.1.1
[ceph.git] / ceph / src / rgw / rgw_torrent.h
index b714bdec075c98a292ae10eb1930afd500dfd5c6..b33aac09b74c779aa6b5d97026b2abe16ea37404 100644 (file)
@@ -96,7 +96,7 @@ private:
 
   string  announce;    // tracker
   string origin; // origin
-  time_t create_date;    // time of the file created
+  time_t create_date{0};    // time of the file created
   string comment;  // comment
   string create_by;    // app name and version
   string encoding;    // if encode use gbk rather than gtf-8 use this field
@@ -104,8 +104,8 @@ private:
   bool is_torrent;  // flag
   bufferlist bl;  // bufflist ready to send
 
-  struct req_state *s;
-  RGWRados *store;
+  struct req_state *s{nullptr};
+  RGWRados *store{nullptr};
   SHA1 h;
 
   TorrentBencode dencode;