Fixed some compiler warnings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-10-09 15:17:42 +00:00
parent dd1f88a1bb
commit 894addedb4
3 changed files with 6 additions and 3 deletions

View file

@ -505,6 +505,7 @@ void RetroShareLink::check()
switch (_type)
{
case TYPE_UNKNOWN:
case TYPE_PRIVATE_CHAT:
_valid = false;
break;
case TYPE_EXTRAFILE:
@ -590,6 +591,7 @@ QString RetroShareLink::title() const
switch (_type) {
case TYPE_UNKNOWN:
case TYPE_PRIVATE_CHAT:
break;
case TYPE_PUBLIC_MSG:
{
@ -664,6 +666,7 @@ QString RetroShareLink::toString() const
switch (_type) {
case TYPE_UNKNOWN:
case TYPE_PRIVATE_CHAT:
return "";
case TYPE_FILE:
@ -971,6 +974,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
case TYPE_MESSAGE:
case TYPE_CERTIFICATE:
case TYPE_PUBLIC_MSG:
case TYPE_PRIVATE_CHAT:
// no need to ask
break;