HomePhabricator

Avoid redundant redeclaration of GetWarnings(const string&)

Description

Avoid redundant redeclaration of GetWarnings(const string&)

Summary:
std::string GetWarnings(const std::string& strFor) is declared in
warnings.h and validation.h, and defined in warnings.cpp.

Backport of core PR10864

Test Plan: Run with the -testsafemode=1 argument and check the warning appears

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity, schancel

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jul 18 2017, 13:11
FabienCommitted on Dec 19 2018, 10:56
FabienPushed on Dec 19 2018, 10:57
Reviewer
Restricted Project
Differential Revision
D2201: Avoid redundant redeclaration of GetWarnings(const string&)
Parents
rABC0860a9aca206: Use range based for loop
Branches
Unknown
Tags
Unknown

Event Timeline