diff options
-rw-r--r-- | odb/boost/date-time/oracle/gregorian-traits.hxx | 4 | ||||
-rw-r--r-- | odb/boost/date-time/oracle/posix-time-traits.hxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/odb/boost/date-time/oracle/gregorian-traits.hxx b/odb/boost/date-time/oracle/gregorian-traits.hxx index 6daf6cf..c8cda41 100644 --- a/odb/boost/date-time/oracle/gregorian-traits.hxx +++ b/odb/boost/date-time/oracle/gregorian-traits.hxx @@ -36,8 +36,8 @@ namespace odb v = date (::boost::date_time::not_a_date_time); else { - short y (0); - unsigned char m (0), d (0), h (0), min (0), s (0); + short y; + unsigned char m, d, h, min, s; details::get_date (b, y, m, d, h, min, s); diff --git a/odb/boost/date-time/oracle/posix-time-traits.hxx b/odb/boost/date-time/oracle/posix-time-traits.hxx index e08945d..04e7fea 100644 --- a/odb/boost/date-time/oracle/posix-time-traits.hxx +++ b/odb/boost/date-time/oracle/posix-time-traits.hxx @@ -41,8 +41,8 @@ namespace odb v = ptime (::boost::date_time::not_a_date_time); else { - sb2 y (0); - ub1 m (0), d (0), h (0), min (0), s (0); + sb2 y; + ub1 m, d, h, min, s; ub4 ns; i.get (y, m, d, h, min, s, ns); @@ -113,7 +113,7 @@ namespace odb v = time_duration (::boost::date_time::not_a_date_time); else { - sb4 d (0), h (0), m (0), s (0), ns (0); + sb4 d, h, m, s, ns; i.get (d, h, m, s, ns); unsigned long long fract_s (ns); |