mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Removed unused XmlDoc::getSiteNumInlinks8()
This commit is contained in:
12
XmlDoc.cpp
12
XmlDoc.cpp
@ -6370,18 +6370,6 @@ int32_t *XmlDoc::getFirstIp ( ) {
|
||||
//if ( tag->getTagDataSize() != 4 ) { g_process.shutdownAbort(true); }
|
||||
}
|
||||
|
||||
uint8_t *XmlDoc::getSiteNumInlinks8 () {
|
||||
if ( m_siteNumInlinks8Valid ) return &m_siteNumInlinks8;
|
||||
// get the full count
|
||||
int32_t *si = getSiteNumInlinks();
|
||||
if ( ! si || si == (int32_t *)-1 ) return (uint8_t *)si;
|
||||
// convert to 8
|
||||
m_siteNumInlinks8 = score32to8 ( *si );
|
||||
// validate
|
||||
m_siteNumInlinks8Valid = true;
|
||||
return &m_siteNumInlinks8;
|
||||
}
|
||||
|
||||
// this is the # of GOOD INLINKS to the site. so it is no more than
|
||||
// 1 per c block, and it has to pass link spam detection. this is the
|
||||
// highest-level count of inlinks to the site. use it a lot.
|
||||
|
1
XmlDoc.h
1
XmlDoc.h
@ -387,7 +387,6 @@ public:
|
||||
class TagRec *getTagRec ( ) ;
|
||||
// non-dup/nondup addresses only
|
||||
int32_t *getFirstIp ( ) ;
|
||||
uint8_t *getSiteNumInlinks8 () ;
|
||||
int32_t *getSiteNumInlinks ( ) ;
|
||||
class LinkInfo *getSiteLinkInfo() ;
|
||||
int32_t *getIp ( ) ;
|
||||
|
Reference in New Issue
Block a user