Page MenuHomePhabricator

Fix -Wself-assign-overloaded in uint256_tests
AbandonedPublic

Authored by Fabien on Dec 9 2019, 20:09.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Summary

Workaround Clang false positive warning:
https://bugs.llvm.org/show_bug.cgi?id=43124

We can just use hardcoded values on the right side, as it will not
compromise the test at all.

Test Plan

With a recent clang:

ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_self_assign_overloaded
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8459
Build 14929: Default Diff Build & Tests
Build 14928: arc lint + arc unit