From b39e925d826394ea1e5576658397b346e147f255 Mon Sep 17 00:00:00 2001
From: Ai Lin Chia <alc@privacore.com>
Date: Wed, 28 Feb 2018 11:06:20 +0100
Subject: [PATCH] Fix clang++ warning: no newline at end of file

---
 DocDelete.cpp          | 2 +-
 DumpSpiderdbSqlite.cpp | 2 +-
 GbUtil.cpp             | 2 +-
 RdbMem.cpp             | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/DocDelete.cpp b/DocDelete.cpp
index bb7ba8ba..d4f3700e 100644
--- a/DocDelete.cpp
+++ b/DocDelete.cpp
@@ -92,4 +92,4 @@ void DocDelete::processDocItem(DocProcessDocItem *docItem) {
 		delete xmlDoc;
 		delete docItem;
 	}
-}
\ No newline at end of file
+}
diff --git a/DumpSpiderdbSqlite.cpp b/DumpSpiderdbSqlite.cpp
index 81c73c3c..708140b8 100644
--- a/DumpSpiderdbSqlite.cpp
+++ b/DumpSpiderdbSqlite.cpp
@@ -304,4 +304,4 @@ void dumpSpiderdbSqlite(const char *collname, int32_t firstIp) {
 		printf("\n");
 	}
 	sqlite3_finalize(stmt);
-}
\ No newline at end of file
+}
diff --git a/GbUtil.cpp b/GbUtil.cpp
index b1b10259..0f015983 100644
--- a/GbUtil.cpp
+++ b/GbUtil.cpp
@@ -216,4 +216,4 @@ const char *formatTimeMs(int64_t when, char buf[32]) {
 	strftime(buf,32,"%Y-%m-%dT%H:%M:%S",&t);
 	sprintf(strchr(buf,'\0'),".%03dZ",(int)(when%1000));
 	return buf;
-}
\ No newline at end of file
+}
diff --git a/RdbMem.cpp b/RdbMem.cpp
index b9587698..7f1f25ce 100644
--- a/RdbMem.cpp
+++ b/RdbMem.cpp
@@ -160,4 +160,4 @@ int32_t RdbMem::getAvailMem() const {
 bool RdbMem::is90PercentFull() const {
 	ScopedLock sl(m_mtx);
 	return m_is90PercentFull;
-}
\ No newline at end of file
+}