mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 05:06:13 +02:00
tidy: add readability-redundant-declaration
This commit is contained in:
@@ -1,2 +1,11 @@
|
|||||||
Checks: '-*,bugprone-argument-comment,modernize-use-nullptr'
|
Checks: '
|
||||||
WarningsAsErrors: 'bugprone-argument-comment,modernize-use-nullptr'
|
-*,
|
||||||
|
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 <iterator>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
|
||||||
constexpr size_t CNetAddr::V1_SERIALIZATION_SIZE;
|
|
||||||
constexpr size_t CNetAddr::MAX_ADDRV2_SIZE;
|
|
||||||
|
|
||||||
CNetAddr::BIP155Network CNetAddr::GetBIP155Network() const
|
CNetAddr::BIP155Network CNetAddr::GetBIP155Network() const
|
||||||
{
|
{
|
||||||
switch (m_net) {
|
switch (m_net) {
|
||||||
|
@@ -57,8 +57,7 @@
|
|||||||
#include <sys/auxv.h>
|
#include <sys/auxv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//! Necessary on some platforms
|
extern char** environ; // NOLINT(readability-redundant-declaration): Necessary on some platforms
|
||||||
extern char** environ;
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user