diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-13 06:20:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-13 06:20:26 +0200 |
commit | 9a8e7d08c12b51407b8aa710fd4ca8cdf8842669 (patch) | |
tree | 994709c440c98fe022620f330af41e526fb8e5ea | |
parent | cef149471d2fa41c5fa51ab666e24dbf0c3a7243 (diff) |
Suppress warning in empty for-loop2.2.0
-rw-r--r-- | odb/pgsql/traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/traits.cxx b/odb/pgsql/traits.cxx index 79188d1..8ce2378 100644 --- a/odb/pgsql/traits.cxx +++ b/odb/pgsql/traits.cxx @@ -86,7 +86,7 @@ namespace odb // Figure out the length. We cannot use strlen since it may // not be 0-terminated (strnlen is not standard). // - for (n = 0; n != N && v[n] != '\0'; ++n); + for (n = 0; n != N && v[n] != '\0'; ++n) ; if (n > b.capacity ()) b.capacity (n); |