From eb7d4859c62ef17ad2176f41f73467ca7bb1b7f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 Jan 2018 15:19:10 +0200 Subject: Fix undefined behavior (ubsan) bug --- odb/pgsql/query.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () -- cgit v1.1