aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-13 06:20:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-13 06:20:26 +0200
commitc959c945cc0930623fbd0960fe6bd2f072dcbb5d (patch)
tree769f2682c7a8da1ecb080b854f83ae1b2126bf72
parent2922f0c7796fdf4ea1fe21eb2f55d9ad18fd1824 (diff)
Suppress warning in empty for-loop2.2.0
-rw-r--r--odb/mysql/traits.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/traits.cxx b/odb/mysql/traits.cxx
index 93b591d..7a5f39e 100644
--- a/odb/mysql/traits.cxx
+++ b/odb/mysql/traits.cxx
@@ -88,7 +88,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);