tidy: add readability-redundant-declaration
This commit is contained in:
3 files changed
+12
-7
No files matched your search
+11
-2
@@ -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) {
|
||||||
|
|||||||
+1
-2
@@ -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