mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix warning: this statement may fall through
/retroshare-gui/src/gui/RetroShareLink.cpp:585: warning: this statement may fall through [-Wimplicit-fallthrough=] if(!checkSSLId(_SSLid)) /retroshare-gui/src/gui/RetroShareLink.cpp:587: here case TYPE_FILE:
This commit is contained in:
parent
9a4ed8012c
commit
f23c84fd4e
@ -608,6 +608,7 @@ void RetroShareLink::check()
|
|||||||
case TYPE_EXTRAFILE:
|
case TYPE_EXTRAFILE:
|
||||||
if(!checkSSLId(_SSLid))
|
if(!checkSSLId(_SSLid))
|
||||||
_valid = false; // no break! We also test file stuff below.
|
_valid = false; // no break! We also test file stuff below.
|
||||||
|
/* fallthrough */
|
||||||
case TYPE_FILE:
|
case TYPE_FILE:
|
||||||
if(_size > (((uint64_t)1)<<40)) // 1TB. Who has such large files?
|
if(_size > (((uint64_t)1)<<40)) // 1TB. Who has such large files?
|
||||||
_valid = false;
|
_valid = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user