aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-17 15:17:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-17 15:17:56 +0200
commitfcf34fac875ca13849882d24f3b59e244abc9404 (patch)
tree8381ee2cf6aec2fc920c64388f1d62e797d0f0be
parent78633a1c20b44252d1f71663a58be03f098a8e38 (diff)
Get rid of warning2.1.0.a1
-rw-r--r--odb/mysql/query.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/query.cxx b/odb/mysql/query.cxx
index 70d55c2..ac710d8 100644
--- a/odb/mysql/query.cxx
+++ b/odb/mysql/query.cxx
@@ -263,7 +263,7 @@ namespace odb
// Add the conversion expression, if any.
//
- string::size_type p;
+ string::size_type p (0);
if (!i->part.empty ())
{
p = i->part.find ("(?)");