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:
thunder2 2012-01-21 21:14:11 +00:00
parent 0a0ccd1f4f
commit 7c11c6efac

View File

@ -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 = " << _local_ipp.toStdString() << std::endl;
std::cerr << "Found Location = " << _location.toStdString() << std::endl;
return true;
}
bool RetroShareLink::createForum(const std::string& id, const std::string& msgId)
@ -480,6 +482,8 @@ void RetroShareLink::check()
if(_hash.isEmpty())
_valid = false;
break;
case TYPE_CERTIFICATE:
break;
}
if (!_valid) {
@ -755,6 +759,7 @@ static void processList(QStringList &list, const QString &textSingular, const QS
case TYPE_CHANNEL:
case TYPE_SEARCH:
case TYPE_MESSAGE:
case TYPE_CERTIFICATE:
// no need to ask
break;