Remove unused serp variables

This commit is contained in:
Ai Lin Chia
2016-02-27 15:28:30 +01:00
parent 57798945db
commit 0aa477b2bc
5 changed files with 0 additions and 20 deletions

@ -551,7 +551,6 @@ class CollectionRec {
int32_t m_summaryMode ;
char m_deleteTimeouts ; // can delete docs that time out?
char m_allowAdultDocs ;
char m_doSerpDetection ;
char m_useCanonicalRedirects ;
int32_t m_maxNumSpiders ; // per local spider host

@ -10544,19 +10544,6 @@ void Parms::init ( ) {
m->m_obj = OBJ_COLL;
m++;
m->m_title = "do serp detection";
m->m_desc = "If this is eabled the spider "
"will not allow any docs which are determined to "
"be serps.";
m->m_cgi = "dsd";
m->m_off = (char *)&cr.m_doSerpDetection - x;
m->m_type = TYPE_BOOL;
m->m_def = "1";
m->m_page = PAGE_SPIDER;
m->m_obj = OBJ_COLL;
m->m_flags = PF_CLONE;
m++;
m->m_title = "do IP lookup";
m->m_desc = "If this is disabled and the proxy "
"IP below is not zero then Gigablast will assume "

@ -289,8 +289,6 @@ class Parm {
#include "Xml.h"
#include "SafeBuf.h"
struct SerParm;
class Parms {
public:

@ -294,8 +294,6 @@ void XmlDoc::reset ( ) {
m_hashedMetas = false;
m_serpBuf.purge();
// Doc.cpp:
m_mime.reset();
m_words.reset();

@ -1434,8 +1434,6 @@ public:
SafeBuf m_pageLinkBuf;
SafeBuf m_siteLinkBuf;
SafeBuf m_serpBuf;
// which set() function was called above to set us?
bool m_setFromTitleRec;
bool m_setFromSpiderRec;