mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Remove unused canBeCanceled parameter
This commit is contained in:
1
Linkdb.h
1
Linkdb.h
@ -60,7 +60,6 @@ bool getLinkInfo ( SafeBuf *reqBuf , // store msg25 request in here
|
||||
int32_t niceness ,
|
||||
bool doLinkSpamCheck ,
|
||||
bool oneVotePerIpDom ,
|
||||
bool canBeCancelled ,
|
||||
int32_t lastUpdateTime ,
|
||||
bool onlyNeedGoodInlinks ,
|
||||
// if an inlinking document has an outlink
|
||||
|
@ -215,7 +215,6 @@ bool getLinkInfo(SafeBuf *reqBuf,
|
||||
int32_t niceness,
|
||||
bool doLinkSpamCheck,
|
||||
bool oneVotePerIpDom,
|
||||
bool canBeCancelled,
|
||||
int32_t lastUpdateTime,
|
||||
bool onlyNeedGoodInlinks,
|
||||
int32_t ourHostHash32,
|
||||
@ -280,7 +279,6 @@ bool getLinkInfo(SafeBuf *reqBuf,
|
||||
req->m_niceness = niceness;
|
||||
req->m_doLinkSpamCheck = doLinkSpamCheck;
|
||||
req->m_oneVotePerIpDom = oneVotePerIpDom;
|
||||
req->m_canBeCancelled = canBeCancelled;
|
||||
req->m_lastUpdateTime = lastUpdateTime;
|
||||
req->m_onlyNeedGoodInlinks = onlyNeedGoodInlinks;
|
||||
req->m_ourHostHash32 = ourHostHash32;
|
||||
@ -539,7 +537,6 @@ void handleRequest25(UdpSlot *slot, int32_t netnice) {
|
||||
req->m_niceness ,
|
||||
req->m_doLinkSpamCheck ,
|
||||
req->m_oneVotePerIpDom ,
|
||||
req->m_canBeCancelled ,
|
||||
req->m_lastUpdateTime ,
|
||||
req->m_onlyNeedGoodInlinks ,
|
||||
req->m_ourHostHash32 ,
|
||||
@ -649,7 +646,6 @@ bool Msg25::getLinkInfo2(const char *site,
|
||||
int32_t niceness,
|
||||
bool doLinkSpamCheck,
|
||||
bool oneVotePerIpDom,
|
||||
bool canBeCancelled,
|
||||
int32_t lastUpdateTime,
|
||||
bool onlyNeedGoodInlinks,
|
||||
int32_t ourHostHash32,
|
||||
|
2
Msg25.h
2
Msg25.h
@ -42,7 +42,6 @@ public:
|
||||
int32_t m_niceness;
|
||||
bool m_doLinkSpamCheck;
|
||||
bool m_oneVotePerIpDom;
|
||||
bool m_canBeCancelled;
|
||||
int32_t m_lastUpdateTime;
|
||||
bool m_onlyNeedGoodInlinks;
|
||||
int32_t m_ourHostHash32;
|
||||
@ -140,7 +139,6 @@ class Msg25 {
|
||||
int32_t niceness,
|
||||
bool doLinkSpamCheck,
|
||||
bool oneVotePerIpDom,
|
||||
bool canBeCancelled,
|
||||
int32_t lastUpdateTime,
|
||||
bool onlyNeedGoodInlinks,
|
||||
// if an inlinking document has an outlink
|
||||
|
16
XmlDoc.cpp
16
XmlDoc.cpp
@ -6989,12 +6989,6 @@ LinkInfo *XmlDoc::getSiteLinkInfo() {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// can we be cancelled?
|
||||
bool canBeCancelled = true;
|
||||
// not if pageparser though
|
||||
if ( m_pbuf ) canBeCancelled = false;
|
||||
// not if injecting
|
||||
if ( ! m_sreqValid ) canBeCancelled = false;
|
||||
// assume valid when it returns
|
||||
m_siteLinkInfoValid = true;
|
||||
|
||||
@ -7026,7 +7020,6 @@ LinkInfo *XmlDoc::getSiteLinkInfo() {
|
||||
m_niceness ,
|
||||
cr->m_doLinkSpamCheck ,
|
||||
cr->m_oneVotePerIpDom ,
|
||||
canBeCancelled ,
|
||||
lastUpdateTime ,
|
||||
onlyNeedGoodInlinks ,
|
||||
0,
|
||||
@ -7809,14 +7802,6 @@ LinkInfo *XmlDoc::getLinkInfo1 ( ) {
|
||||
|
||||
// do not redo it
|
||||
m_calledMsg25 = true;
|
||||
// shortcut
|
||||
//Msg25 *m = &m_msg25;
|
||||
// can we be cancelled?
|
||||
bool canBeCancelled = true;
|
||||
// not if pageparser though
|
||||
if ( m_pbuf ) canBeCancelled = false;
|
||||
// not if injecting
|
||||
if ( ! m_sreqValid ) canBeCancelled = false;
|
||||
|
||||
// we do not want to waste time computing the page title
|
||||
// of bad inlinks if we only want the good inlinks, because
|
||||
@ -7860,7 +7845,6 @@ LinkInfo *XmlDoc::getLinkInfo1 ( ) {
|
||||
m_niceness ,
|
||||
doLinkSpamCheck ,
|
||||
oneVotePerIpDom ,
|
||||
canBeCancelled ,
|
||||
lastUpdateTime ,
|
||||
onlyNeedGoodInlinks ,
|
||||
0, // ourhosthash32 (special)
|
||||
|
Reference in New Issue
Block a user