Skip to content

Commit

Permalink
* Забыл return ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-pimenov committed Apr 30, 2018
1 parent 894527b commit 7f91e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ShareManager.cpp
Expand Up @@ -332,7 +332,7 @@ string ShareManager::toRealPath(const TTHValue& tth)
{
return i->second->getRealPathL();
}
catch (const ShareException& e)
catch (const ShareException&)
{
dcassert(0);
}
Expand Down Expand Up @@ -3363,7 +3363,7 @@ bool ShareManager::isInSkipList(const string& lowerName) const
unsigned ShareManager::addSearchBot(const CFlySearchItemFile& p_search)
{
CFlyFastLock(g_csBot);
g_BotDetectMap[p_search.m_seeker]++;
return g_BotDetectMap[p_search.m_seeker]++;
}

unsigned ShareManager::getCountSearchBot(const CFlySearchItemFile& p_search)
Expand Down

0 comments on commit 7f91e87

Please sign in to comment.