From 950aeffff8d641a0855fbd9a9b2993d9dfd7d2c3 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Thu, 26 Jul 2018 22:24:36 +0100 Subject: CheckBasicStyle: Check number of empty lines between functions (#4267) Add check for number of empty lines between functions and fix the corresponding failures --- src/OSSupport/Event.cpp | 1 + src/OSSupport/File.cpp | 1 - src/OSSupport/Network.h | 1 - src/OSSupport/TCPLinkImpl.cpp | 1 - src/OSSupport/WinStackWalker.cpp | 1 + 5 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/OSSupport') diff --git a/src/OSSupport/Event.cpp b/src/OSSupport/Event.cpp index be2803451..4a16ddee7 100644 --- a/src/OSSupport/Event.cpp +++ b/src/OSSupport/Event.cpp @@ -62,6 +62,7 @@ void cEvent::Set(void) + void cEvent::SetAll(void) { { diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp index bb33dc732..d9b3d86d3 100644 --- a/src/OSSupport/File.cpp +++ b/src/OSSupport/File.cpp @@ -213,7 +213,6 @@ long cFile::Seek (int iPosition) - long cFile::Tell (void) const { ASSERT(IsOpen()); diff --git a/src/OSSupport/Network.h b/src/OSSupport/Network.h index babf0c078..3c4470848 100644 --- a/src/OSSupport/Network.h +++ b/src/OSSupport/Network.h @@ -29,7 +29,6 @@ typedef std::shared_ptr cX509CertPtr; - /** Interface that provides the methods available on a single TCP connection. */ class cTCPLink { diff --git a/src/OSSupport/TCPLinkImpl.cpp b/src/OSSupport/TCPLinkImpl.cpp index 496e264be..d7edc68cd 100644 --- a/src/OSSupport/TCPLinkImpl.cpp +++ b/src/OSSupport/TCPLinkImpl.cpp @@ -235,7 +235,6 @@ void cTCPLinkImpl::Close(void) - AString cTCPLinkImpl::StartTLSClient( cX509CertPtr a_OwnCert, cCryptoKeyPtr a_OwnPrivKey diff --git a/src/OSSupport/WinStackWalker.cpp b/src/OSSupport/WinStackWalker.cpp index b9a8be39f..1a95b2907 100644 --- a/src/OSSupport/WinStackWalker.cpp +++ b/src/OSSupport/WinStackWalker.cpp @@ -715,6 +715,7 @@ WinStackWalker::WinStackWalker(DWORD dwProcessId, HANDLE hProcess) + WinStackWalker::WinStackWalker(int options, LPCSTR szSymPath, DWORD dwProcessId, HANDLE hProcess) { this->m_options = options; -- cgit v1.2.3