mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
tidy: add readability-redundant-declaration
This commit is contained in:
parent
5d53cf3878
commit
c2b295881f
@ -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…
Reference in New Issue
Block a user