diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-25 09:08:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-07-25 09:08:58 +0200 |
commit | 08bdb4946953d63463b6a91e5faeef3279d1cba3 (patch) | |
tree | dcb6cd650541ff4d92514c2a4068e847484e776b | |
parent | 4f2497446d20ac418f0f3a5269dbd53331de2615 (diff) |
Avoid unnecessary initialization
-rw-r--r-- | odb/pgsql/statement.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx index 3f5b340..c1de28d 100644 --- a/odb/pgsql/statement.cxx +++ b/odb/pgsql/statement.cxx @@ -87,11 +87,11 @@ namespace odb const bind& current_bind (b.bind[i]); n.formats[i] = 1; - n.lengths[i] = 0; if (current_bind.is_null != 0 && *current_bind.is_null) { n.values[i] = 0; + n.lengths[i] = 0; continue; } |