mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-06 21:51:14 +00:00
Merge bitcoin/bitcoin#25047: tidy: add readability-redundant-declaration
c2b295881f852a9096c834334d6b84c988f579f5 tidy: add readability-redundant-declaration (fanquake)
Pull request description:
ACKs for top commit:
vincenzopalazzo:
ACK c2b295881f
jonatack:
Review-only ACK c2b295881f852a9096c834334d6b84c988f579f5
Tree-SHA512: 992dd81f9d0c511efcd8d9d1a8c05fc1401b854272f28f7f31ca0922164ddd7d7c01bfcf5ca268472b5d68969137110f5c0844a52938d294750584e1a948a874
This commit is contained in:
commit
880cec91fa
@ -1,2 +1,11 @@
|
||||
Checks: '-*,bugprone-argument-comment,modernize-use-nullptr'
|
||||
WarningsAsErrors: 'bugprone-argument-comment,modernize-use-nullptr'
|
||||
Checks: '
|
||||
-*,
|
||||
bugprone-argument-comment,
|
||||
modernize-use-nullptr,
|
||||
readability-redundant-declaration,
|
||||
'
|
||||
WarningsAsErrors: '
|
||||
bugprone-argument-comment,
|
||||
modernize-use-nullptr,
|
||||
readability-redundant-declaration,
|
||||
'
|
||||
|
||||
@ -20,9 +20,6 @@
|
||||
#include <iterator>
|
||||
#include <tuple>
|
||||
|
||||
constexpr size_t CNetAddr::V1_SERIALIZATION_SIZE;
|
||||
constexpr size_t CNetAddr::MAX_ADDRV2_SIZE;
|
||||
|
||||
CNetAddr::BIP155Network CNetAddr::GetBIP155Network() const
|
||||
{
|
||||
switch (m_net) {
|
||||
|
||||
@ -57,8 +57,7 @@
|
||||
#include <sys/auxv.h>
|
||||
#endif
|
||||
|
||||
//! Necessary on some platforms
|
||||
extern char** environ;
|
||||
extern char** environ; // NOLINT(readability-redundant-declaration): Necessary on some platforms
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user