Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always initialize fields in MatcherBase constructors #3797

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

glandium
Copy link
Contributor

This fixes -Wuninitialized warnings with GCC.

Fixes #3514.

@google-cla
Copy link

google-cla bot commented Apr 20, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

This fixes -Wuninitialized warnings with GCC.

Fixes google#3514.
@glandium glandium changed the title Initialize MatcherBase.buffer_ in the default constructor Always initialize fields in MatcherBase constructors Apr 20, 2022
@glandium glandium marked this pull request as ready for review April 20, 2022 02:37
@derekmauro derekmauro self-assigned this Apr 25, 2022
@glandium
Copy link
Contributor Author

It doesn't look like the Windows failure is caused by this change.

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.

1.11.0: build fails
4 participants