diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-13 06:20:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-13 06:20:27 +0200 |
commit | 5c8f9b28bb312d005469a30684d66f626b6304b9 (patch) | |
tree | f7d334b221f8c7394c60963d299aae8deb29b773 | |
parent | 8d39bd6df58afefcca0f0c9c1a5522af8162bb7f (diff) |
Suppress warning in empty for-loop2.2.0
-rw-r--r-- | odb/oracle/traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/traits.cxx b/odb/oracle/traits.cxx index b9a0f02..2452838 100644 --- a/odb/oracle/traits.cxx +++ b/odb/oracle/traits.cxx @@ -47,7 +47,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 > c) n = c; |