diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-09 00:45:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-09 00:45:11 +0100 |
| commit | d1d18d87fa9e0efeb9be78048a54d605ca904735 (patch) | |
| tree | 0d7711edecd257926ab3b0c6076580f0b899e8e7 /src | |
| parent | 6db952e970939d6a86f1fcef157ba6c74d27c648 (diff) | |
Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset.
Diffstat (limited to 'src')
| -rw-r--r-- | src/local_time.cc | 3 |
1 files changed, 0 insertions, 3 deletions
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); } } |
