From 9f3830aa7214d1128923b85fe909830538260176 Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Wed, 23 Jan 2019 16:43:32 +0200 Subject: [PATCH 1/4] Adds newlines to avoid compiler warnings --- features/netsocket/DNS.h | 2 +- features/netsocket/DTLSSocketWrapper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/netsocket/DNS.h b/features/netsocket/DNS.h index a9aa5c0a488..003635c5adf 100644 --- a/features/netsocket/DNS.h +++ b/features/netsocket/DNS.h @@ -101,4 +101,4 @@ class DNS { #endif -/** @} */ \ No newline at end of file +/** @} */ diff --git a/features/netsocket/DTLSSocketWrapper.h b/features/netsocket/DTLSSocketWrapper.h index 1d024682b55..bd104a3c949 100644 --- a/features/netsocket/DTLSSocketWrapper.h +++ b/features/netsocket/DTLSSocketWrapper.h @@ -50,4 +50,4 @@ class DTLSSocketWrapper : public TLSSocketWrapper { #endif #endif -/** @} */ \ No newline at end of file +/** @} */ From 8f786a0450a4d610ba69cee8d7f298c507b2f95e Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Wed, 23 Jan 2019 16:43:45 +0200 Subject: [PATCH 2/4] Adds newlines to avoid compiler warnings --- features/nfc/source/nfc/NFCRemoteInitiator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/nfc/source/nfc/NFCRemoteInitiator.cpp b/features/nfc/source/nfc/NFCRemoteInitiator.cpp index 9c8e9679c03..4863ca8d115 100644 --- a/features/nfc/source/nfc/NFCRemoteInitiator.cpp +++ b/features/nfc/source/nfc/NFCRemoteInitiator.cpp @@ -52,4 +52,4 @@ void NFCRemoteInitiator::disconnected() NFCNDEFCapable::Delegate *NFCRemoteInitiator::ndef_capable_delegate() { return _delegate; -} \ No newline at end of file +} From 293b0189d2192c4ff8e41e9b34564a7f52c5bfd7 Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Wed, 23 Jan 2019 16:44:16 +0200 Subject: [PATCH 3/4] Adds newlines to avoid compiler warnings --- features/storage/filesystem/littlefs/littlefs/lfs_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/storage/filesystem/littlefs/littlefs/lfs_util.c b/features/storage/filesystem/littlefs/littlefs/lfs_util.c index 113632b66bc..1c6b5b409aa 100644 --- a/features/storage/filesystem/littlefs/littlefs/lfs_util.c +++ b/features/storage/filesystem/littlefs/littlefs/lfs_util.c @@ -25,4 +25,4 @@ void lfs_crc(uint32_t *restrict crc, const void *buffer, size_t size) { } } #endif -#endif \ No newline at end of file +#endif From a6d4c6b609b66ae5eac3b21a365ffacaebd02ace Mon Sep 17 00:00:00 2001 From: Veijo Pesonen Date: Wed, 23 Jan 2019 17:04:42 +0200 Subject: [PATCH 4/4] L3IPInterface: make inheriting virtual explicit --- features/netsocket/L3IPInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/netsocket/L3IPInterface.h b/features/netsocket/L3IPInterface.h index 5cf0a78d725..f76f56816ab 100644 --- a/features/netsocket/L3IPInterface.h +++ b/features/netsocket/L3IPInterface.h @@ -49,7 +49,7 @@ class L3IPInterface : public virtual NetworkInterface { */ L3IPInterface(L3IP &l3ip = L3IP::get_default_instance(), OnboardNetworkStack &stack = OnboardNetworkStack::get_default_instance()); - ~L3IPInterface(); + virtual ~L3IPInterface(); /** Set a static IP address * * Configures this network interface to use a static IP address.