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
commit0daa3cb3c917ba235fcbbc28244c793c8cc60d44 (patch)
tree25146d316a9614d09e598be56ef526c175c06e2b
parent5fb0357e3be5d940d43bcab4ba8910afbc7f2c13 (diff)
Fix undefined behavior (ubsan) bug
-rw-r--r--odb/sqlite/query.hxx2
1 files changed, 1 insertions, 1 deletions
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 ()