From: Kefu Chai Date: Sun, 25 Aug 2019 06:54:30 +0000 (+0800) Subject: rgw: rgw_log_entry always initialize total_time X-Git-Tag: v15.1.0~1760^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=123f42d0aa6192abe8bf44f770feb83d37c7acfa;p=ceph.git rgw: rgw_log_entry always initialize total_time zero-initialize rgw_log_entry::total_time Signed-off-by: Kefu Chai --- diff --git a/src/rgw/rgw_log.h b/src/rgw/rgw_log.h index 57b34491cd8..04d11b78278 100644 --- a/src/rgw/rgw_log.h +++ b/src/rgw/rgw_log.h @@ -29,7 +29,7 @@ struct rgw_log_entry { uint64_t bytes_sent; uint64_t bytes_received; uint64_t obj_size; - Clock::duration total_time; + Clock::duration total_time{}; string user_agent; string referrer; string bucket_id;