Skip to content

Initialize zstd_base::level in constructor#148

Open
jwakely wants to merge 1 commit into
boostorg:developfrom
jwakely:patch-1
Open

Initialize zstd_base::level in constructor#148
jwakely wants to merge 1 commit into
boostorg:developfrom
jwakely:patch-1

Conversation

@jwakely
Copy link
Copy Markdown

@jwakely jwakely commented Jun 23, 2022

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 5692d34

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

mclow commented Jun 23, 2022

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants