aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-16 13:08:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-16 13:08:43 +0300
commitd537cce157e0877347f7b38b0d9a8eedd974538b (patch)
tree6935589b5156cbec9005560be36e6740150af3cb
parent5638c0136d1851f47c94b1e7d9d03acd50aaefae (diff)
Fix GCC maybe used uninitialized warning
-rw-r--r--odb/pgsql/statement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx
index 799ef9d..5276b4c 100644
--- a/odb/pgsql/statement.cxx
+++ b/odb/pgsql/statement.cxx
@@ -400,7 +400,7 @@ namespace odb
// to go to our endianness and back in order for casts to
// work properly.
//
- long long i;
+ long long i (0);
switch (PQftype (result, c))
{