Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset.
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Feb 2024 23:45:11 +0000 (00:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 8 Feb 2024 23:45:11 +0000 (00:45 +0100)
src/local_time.cc

index 46718a756b7d89615ada90d154127b14f92772c8..7d0903048658523e306b5fc81a21a1d069362553 100644 (file)
@@ -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);
        }
 }