aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-17 15:17:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-17 15:17:57 +0200
commit42fd8756a1785e94f4ab948291316830f77bcf4b (patch)
tree605551224bfd101bf521b1e1e7fd84f400c7363f
parentf474f1a7ef24ce7f68f875e8156432f0ff6e4125 (diff)
Get rid of warning2.1.0.a1
-rw-r--r--odb/pgsql/query.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/query.cxx b/odb/pgsql/query.cxx
index 9d50c3b..6c0bd4c 100644
--- a/odb/pgsql/query.cxx
+++ b/odb/pgsql/query.cxx
@@ -360,7 +360,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 ("(?)");