aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-13 06:20:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-13 06:20:27 +0200
commit5c8f9b28bb312d005469a30684d66f626b6304b9 (patch)
treef7d334b221f8c7394c60963d299aae8deb29b773
parent8d39bd6df58afefcca0f0c9c1a5522af8162bb7f (diff)
Suppress warning in empty for-loop2.2.0
-rw-r--r--odb/oracle/traits.cxx2
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;