diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-02 15:19:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-01-02 15:19:10 +0200 |
commit | 0e5075a430b0b3f4f16422d2c085bc18c78104e6 (patch) | |
tree | 11b44c6c3609d5929fe80944205b0d74273c1cf2 | |
parent | 6d9a93d06965e7c0089ff530c88160e199cdff71 (diff) |
Fix undefined behavior (ubsan) bug
-rw-r--r-- | odb/mssql/query.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mssql/query.hxx b/odb/mssql/query.hxx index 1f4f180..a213823 100644 --- a/odb/mssql/query.hxx +++ b/odb/mssql/query.hxx @@ -181,7 +181,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 () |