aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-02 15:19:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-02 15:19:10 +0200
commiteb7d4859c62ef17ad2176f41f73467ca7bb1b7f7 (patch)
treef5a05aeba6ab8829d21da3da1e6067526c533541
parent07cbb09ffd86db7cf7ff842f72d857f2733e9fdc (diff)
Fix undefined behavior (ubsan) bug
-rw-r--r--odb/pgsql/query.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/query.hxx b/odb/pgsql/query.hxx
index c81217b..2edf428 100644
--- a/odb/pgsql/query.hxx
+++ b/odb/pgsql/query.hxx
@@ -155,7 +155,7 @@ namespace odb
kind_type kind;
std::string part; // If kind is param, then part is conversion expr.
- bool bool_part;
+ bool bool_part = false;
};
query_base ()