diff options
author | Rui Liu <rui.liu@mongodb.com> | 2022-10-18 14:35:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-18 15:58:08 +0000 |
commit | 519c94b49f4cecdf2dd721876362f0fd2d240e55 (patch) | |
tree | bdb63172d0eaf0833e529548fd4ebcdb9b8bf4b7 /src/mongo/db/query/datetime | |
parent | c6982d568e1de286493c33031e9e86db3d4a0025 (diff) | |
download | mongo-519c94b49f4cecdf2dd721876362f0fd2d240e55.tar.gz |
SERVER-70228 Initialize unused pointer field in TimeZone
Diffstat (limited to 'src/mongo/db/query/datetime')
-rw-r--r-- | src/mongo/db/query/datetime/date_time_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/datetime/date_time_support.h b/src/mongo/db/query/datetime/date_time_support.h index 77cba17d131..b176a89e7fa 100644 --- a/src/mongo/db/query/datetime/date_time_support.h +++ b/src/mongo/db/query/datetime/date_time_support.h @@ -386,7 +386,7 @@ private: } // null if this TimeZone represents the default UTC time zone, or a UTC-offset time zone - _timelib_tzinfo* _tzInfo; + _timelib_tzinfo* _tzInfo{nullptr}; // represents the UTC offset in seconds if _tzInfo is null and it is not 0 Seconds _utcOffset{0}; |