HomePhabricator

refactor: Clean up -Wlogical-op warning

Description

refactor: Clean up -Wlogical-op warning

Summary:
This commit fixes core#19912 by removing a check that always returned true. That check was causing a -Wlogical-op warning because it treated a constant int as though it were a boolean.
This is a backport of core#19986

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
maskoficarus <bitcoin@maskoficarus.com>Authored on Sep 21 2020, 00:07
PiRKCommitted on Nov 25 2021, 15:29
PiRKPushed on Nov 25 2021, 15:29
Reviewer
Restricted Project
Differential Revision
D10538: refactor: Clean up -Wlogical-op warning
Parents
rABC093f9ba30bf9: scripted-diff: rename vRecvGetData
Branches
Unknown
Tags
Unknown