mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 09:27:09 -05:00
Added missing return and removed compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4830 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0a0ccd1f4f
commit
7c11c6efac
@ -320,6 +320,8 @@ bool RetroShareLink::createCertificate(const std::string& ssl_id)
|
|||||||
//std::cerr << "Found External IP+Port = " << _external_ipp.toStdString() << std::endl;
|
//std::cerr << "Found External IP+Port = " << _external_ipp.toStdString() << std::endl;
|
||||||
//std::cerr << "Found External IP+Port = " << _local_ipp.toStdString() << std::endl;
|
//std::cerr << "Found External IP+Port = " << _local_ipp.toStdString() << std::endl;
|
||||||
std::cerr << "Found Location = " << _location.toStdString() << std::endl;
|
std::cerr << "Found Location = " << _location.toStdString() << std::endl;
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RetroShareLink::createForum(const std::string& id, const std::string& msgId)
|
bool RetroShareLink::createForum(const std::string& id, const std::string& msgId)
|
||||||
@ -480,6 +482,8 @@ void RetroShareLink::check()
|
|||||||
if(_hash.isEmpty())
|
if(_hash.isEmpty())
|
||||||
_valid = false;
|
_valid = false;
|
||||||
break;
|
break;
|
||||||
|
case TYPE_CERTIFICATE:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_valid) {
|
if (!_valid) {
|
||||||
@ -755,6 +759,7 @@ static void processList(QStringList &list, const QString &textSingular, const QS
|
|||||||
case TYPE_CHANNEL:
|
case TYPE_CHANNEL:
|
||||||
case TYPE_SEARCH:
|
case TYPE_SEARCH:
|
||||||
case TYPE_MESSAGE:
|
case TYPE_MESSAGE:
|
||||||
|
case TYPE_CERTIFICATE:
|
||||||
// no need to ask
|
// no need to ask
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user