diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-21 13:13:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-21 13:13:02 +0200 |
commit | d67161ee22cfa6196aaac84783ba8b4871928596 (patch) | |
tree | 1b2f17198672d1cf9c7faa57d9e9984cc1c7ca36 | |
parent | 830df474033c9acde43d16f731f6d60ea641d3c3 (diff) |
Suppress warning2.3.0
-rw-r--r-- | odb/pgsql/section-statements.txx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/pgsql/section-statements.txx b/odb/pgsql/section-statements.txx index 592db7b..4781833 100644 --- a/odb/pgsql/section-statements.txx +++ b/odb/pgsql/section-statements.txx @@ -44,9 +44,7 @@ namespace odb select_image_truncated_, 0, sizeof (select_image_truncated_)); std::memset (update_image_bind_, 0, sizeof (update_image_bind_)); - for (std::size_t i (0); - i < select_column_count + managed_optimistic_load_column_count; - ++i) + for (std::size_t i (0); i < select_bind_count; ++i) select_image_bind_[i].truncated = select_image_truncated_ + i; } } |