Remove unused variable in Tagdb

This commit is contained in:
Ai Lin Chia
2016-03-11 14:22:35 +01:00
parent 06fbe25871
commit 9e40792808
2 changed files with 1 additions and 16 deletions

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

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