boostorg / iostreams

Boost.org iostreams module
http://boost.org/libs/iostreams
Boost Software License 1.0
43 stars 116 forks source link

Initialize zstd_base::level in constructor #148

Open jwakely opened 2 years ago

jwakely commented 2 years ago

It does actually get initialized when the derived class calls zstd_base::init but setting it in the constructor prevents static analyzers from complaining.

A similar fix was made to lzma_base in 5692d3421962a0654f19d5c070431c7313fe4c92

mclow commented 2 years ago

LGTM