Silence ubsan false positive

fix #1214
This commit is contained in:
Vinnie Falco committed 2018-08-02 07:20:47 -07:00
1 parent 1da229a27c
commit f32a8e2c99
3 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ class stream<NextLayer, deflateSupported>::write_some_op
std::size_t in_;
int how_;
bool fin_;
bool more_;
bool more_ = false; // for ubsan
bool cont_ = false;
public: