mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 16:27:01 -05:00
Fix warning: this statement may fall through
/retroshare-gui/src/gui/gxs/GxsGroupDialog.cpp:654: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: signFlags |= GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG_KNOWN; // no break below, since we want *both* flags in this case.
This commit is contained in:
parent
dcb8a352df
commit
2444e6e66e
@ -652,6 +652,7 @@ uint32_t GxsGroupDialog::getGroupSignFlags()
|
|||||||
{
|
{
|
||||||
case 0: break ;
|
case 0: break ;
|
||||||
case 2: signFlags |= GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG_KNOWN; // no break below, since we want *both* flags in this case.
|
case 2: signFlags |= GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG_KNOWN; // no break below, since we want *both* flags in this case.
|
||||||
|
/* fallthrough */
|
||||||
case 1: signFlags |= GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG;
|
case 1: signFlags |= GXS_SERV::FLAG_AUTHOR_AUTHENTICATION_GPG;
|
||||||
break ;
|
break ;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user