aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/date-time/oracle/posix-time-traits.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-15 11:41:34 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-15 11:41:34 +0200
commit1285f207175fe0909b9e1143706175e0935b34db (patch)
treeb58d20de21b1dfd90a9c3dddb092fa629945e4b8 /odb/boost/date-time/oracle/posix-time-traits.hxx
parenta7e2b5e983ce12317bbc26d041a9a2a082840726 (diff)
Remove unnecessary variable initializations
Diffstat (limited to 'odb/boost/date-time/oracle/posix-time-traits.hxx')
-rw-r--r--odb/boost/date-time/oracle/posix-time-traits.hxx6
1 files changed, 3 insertions, 3 deletions
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);