projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6db952e
)
Cleanup: remove unnecessary clearing of 0-init-ed UTCOffset.
author
Carl Hetherington
<cth@carlh.net>
Thu, 8 Feb 2024 23:45:11 +0000
(
00:45
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 8 Feb 2024 23:45:11 +0000
(
00:45
+0100)
src/local_time.cc
patch
|
blob
|
history
diff --git
a/src/local_time.cc
b/src/local_time.cc
index 46718a756b7d89615ada90d154127b14f92772c8..7d0903048658523e306b5fc81a21a1d069362553 100644
(file)
--- 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());
}
_offset.set_hour(-_offset.hour());
_offset.set_minute(-_offset.minute());
}
- } else {
- _offset.set_hour(0);
- _offset.set_minute(0);
}
}
}
}