HomePhabricator

Mute self assign warning in uint256_tests.cpp

Description

Mute self assign warning in uint256_tests.cpp

Summary: While it is generaly a bad idea to do so, we want to test that the code behave properly if someone came to do this anyways. So we remove the warning using a noop.

Test Plan:

ninja check

Verify that the warnings are gone.

Reviewers: #bitcoin_abc, jasonbcox, Fabien

Reviewed By: #bitcoin_abc, jasonbcox, Fabien

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5310

Details

Provenance
deadalnixAuthored on Feb 21 2020, 00:09
FabienPushed on Feb 24 2020, 10:25
Reviewer
Restricted Project
Differential Revision
D5310: Mute self assign warning in uint256_tests.cpp
Parents
rSTAGINGbcf6e77e793d: [CMAKE] Move the upgrade activated tests out of the TestSuite module
Branches
Unknown
Tags
Unknown