From 0daa3cb3c917ba235fcbbc28244c793c8cc60d44 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/sqlite/query.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odb/sqlite/query.hxx b/odb/sqlite/query.hxx index 933b1e9..c057a47 100644 --- a/odb/sqlite/query.hxx +++ b/odb/sqlite/query.hxx @@ -185,7 +185,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