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

refactor, test: Always initialize pointer #30026

Merged
merged 1 commit into from May 3, 2024

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented May 2, 2024

This change fixes MSVC warning C4703.

All DisableSpecificWarnings dropped from test_bitcoin.vcxproj as all remained are inherited from common.init.vcxproj.

Required to simplify warning suppression porting to the CMake-based build system.

This change fixes MSVC warning C4703.
See: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4703

All `DisableSpecificWarnings` dropped from `test_bitcoin.vcxproj` as all
remained are inherited from `common.init.vcxproj`.
@DrahtBot
Copy link
Contributor

DrahtBot commented May 2, 2024

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK maflcko, sipsorcery, ryanofsky

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@hebasto
Copy link
Member Author

hebasto commented May 2, 2024

cc @jamesob as a test author

@hebasto hebasto added the Tests label May 2, 2024
@maflcko
Copy link
Member

maflcko commented May 3, 2024

utACK bd2de7a

@hebasto
Copy link
Member Author

hebasto commented May 3, 2024

cc @sipsorcery

@sipsorcery
Copy link
Member

utACK bd2de7a.

Copy link
Contributor

@ryanofsky ryanofsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK bd2de7a

@ryanofsky ryanofsky merged commit 70e4d6f into bitcoin:master May 3, 2024
16 checks passed
@hebasto hebasto deleted the 240502-msvc-c4703 branch May 3, 2024 13:58
hebasto added a commit to hebasto/bitcoin that referenced this pull request May 4, 2024
c06c03e fixup! cmake: Add platform-specific definitions and properties (Hennadii Stepanov)
08b98f0 refactor, test: Always initialize pointer (Hennadii Stepanov)

Pull request description:

  Same as on the master branch: https://github.com/hebasto/bitcoin/blob/99d7538cdb2a0ab7a7a2116cd5f33b95fc52b00e/build_msvc/common.init.vcxproj.in#L64

  The first commit has been pulled from bitcoin#30026.

Top commit has no ACKs.

Tree-SHA512: c81848f9064d0f59640c0d50839637b528268e2e206e521887258fa1a4b8b1e419475e7285d0318d43375684da85afabccc32fb747d1251a529e3d8cc966965a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants