From 1285f207175fe0909b9e1143706175e0935b34db Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 15 Nov 2011 11:41:34 +0200 Subject: Remove unnecessary variable initializations --- odb/boost/date-time/oracle/posix-time-traits.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/boost/date-time/oracle/posix-time-traits.hxx') 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); -- cgit v1.1