Removed unused XmlDoc::getSiteNumInlinks8()

This commit is contained in:
Ivan Skytte Jørgensen
2017-01-05 14:13:53 +01:00
parent 96ddc6243f
commit 27bb272c1e
2 changed files with 0 additions and 13 deletions

@ -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.

@ -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 ( ) ;