From 5c8f9b28bb312d005469a30684d66f626b6304b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Feb 2013 06:20:27 +0200 Subject: Suppress warning in empty for-loop --- odb/oracle/traits.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1