aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ("(?)");