forked from Mirrors/privacore-open-source-search-engine
Remove unused variable in Tagdb
This commit is contained in:
13
Tagdb.cpp
13
Tagdb.cpp
@ -1332,22 +1332,11 @@ bool Msg8a::getTagRec( Url *url, collnum_t collnum, int32_t niceness, void *stat
|
||||
return true;
|
||||
}
|
||||
|
||||
// get the domain
|
||||
m_dom = url->getDomain();
|
||||
|
||||
// if none, bad!
|
||||
if ( ! m_dom && ! url->isIp() ) {
|
||||
if ( ! url->getDomain() && ! url->isIp() ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// . save ptr for launchGetRequests()
|
||||
// . move this BACKWARDS for subdomains that have a ton of .'s
|
||||
// . no, now move towards domain
|
||||
m_p = m_url->getHost();
|
||||
|
||||
// and save this too
|
||||
m_hostEnd = m_url->getHost() + m_url->getHostLen();
|
||||
|
||||
// launch the requests
|
||||
if ( ! launchGetRequests() ) return false;
|
||||
|
||||
|
4
Tagdb.h
4
Tagdb.h
@ -232,10 +232,6 @@ class Msg8a {
|
||||
|
||||
int32_t m_niceness;
|
||||
|
||||
const char *m_dom;
|
||||
char *m_hostEnd;
|
||||
char *m_p;
|
||||
|
||||
int32_t m_requests;
|
||||
int32_t m_replies;
|
||||
char m_doneLaunching;
|
||||
|
Reference in New Issue
Block a user