mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-06-27 00:16:07 -04:00
Fix clang++ warning: no newline at end of file
This commit is contained in:
@ -92,4 +92,4 @@ void DocDelete::processDocItem(DocProcessDocItem *docItem) {
|
|||||||
delete xmlDoc;
|
delete xmlDoc;
|
||||||
delete docItem;
|
delete docItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -304,4 +304,4 @@ void dumpSpiderdbSqlite(const char *collname, int32_t firstIp) {
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
sqlite3_finalize(stmt);
|
sqlite3_finalize(stmt);
|
||||||
}
|
}
|
||||||
|
@ -216,4 +216,4 @@ const char *formatTimeMs(int64_t when, char buf[32]) {
|
|||||||
strftime(buf,32,"%Y-%m-%dT%H:%M:%S",&t);
|
strftime(buf,32,"%Y-%m-%dT%H:%M:%S",&t);
|
||||||
sprintf(strchr(buf,'\0'),".%03dZ",(int)(when%1000));
|
sprintf(strchr(buf,'\0'),".%03dZ",(int)(when%1000));
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
@ -160,4 +160,4 @@ int32_t RdbMem::getAvailMem() const {
|
|||||||
bool RdbMem::is90PercentFull() const {
|
bool RdbMem::is90PercentFull() const {
|
||||||
ScopedLock sl(m_mtx);
|
ScopedLock sl(m_mtx);
|
||||||
return m_is90PercentFull;
|
return m_is90PercentFull;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user