From faeb485ac1580cfa5e52876a9e8cb94960266703 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/mysql/query.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odb/mysql/query.hxx b/odb/mysql/query.hxx index ba5bac9..54f7e6f 100644 --- a/odb/mysql/query.hxx +++ b/odb/mysql/query.hxx @@ -148,7 +148,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