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

@jwakely jwakely commented Jun 23, 2022

Copy link
Copy Markdown

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

mclow commented Jun 23, 2022

Copy link
Copy Markdown
Contributor

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