From: Carl Hetherington Date: Thu, 8 Feb 2024 23:45:11 +0000 (+0100) Subject: Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset. X-Git-Tag: v1.8.95~1 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=d1d18d87fa9e0efeb9be78048a54d605ca904735;p=libdcp.git Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset. --- diff --git a/src/local_time.cc b/src/local_time.cc index 46718a75..7d090304 100644 --- a/src/local_time.cc +++ b/src/local_time.cc @@ -180,9 +180,6 @@ LocalTime::LocalTime (string s) _offset.set_hour(-_offset.hour()); _offset.set_minute(-_offset.minute()); } - } else { - _offset.set_hour(0); - _offset.set_minute(0); } }