Page MenuHomePhabricator

refactor: Clean up -Wlogical-op warning
ClosedPublic

Authored by PiRK on Thu, Nov 25, 09:21.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCa46f4c08b326: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable