Skip to content

refactor, test: Always initialize pointer - #30026

Merged
ryanofsky merged 1 commit into
bitcoin:masterfrom
hebasto:240502-msvc-c4703
May 3, 2024
Merged

ryanofsky merged 1 commit into
bitcoin:masterfrom
hebasto:240502-msvc-c4703

Conversation

@hebasto

@hebasto hebasto commented May 2, 2024

Copy link
Copy Markdown
Member

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

DrahtBot commented May 2, 2024 •

Copy link
Copy Markdown
Contributor

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

hebasto commented May 2, 2024

Copy link
Copy Markdown
Member Author

cc @jamesob as a test author

@hebasto hebasto added the Tests label May 2, 2024
@maflcko

maflcko commented May 3, 2024

Copy link
Copy Markdown
Member

utACK bd2de7a

@hebasto

hebasto commented May 3, 2024

Copy link
Copy Markdown
Member Author

cc @sipsorcery

@sipsorcery

Copy link
Copy Markdown
Contributor

utACK bd2de7a.

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Contributor

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
@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
@bitcoin bitcoin locked and limited conversation to collaborators May 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants