mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-02 18:44:53 -05:00
Fixed "statement may fall through (-Wimplicit-fallthrough)" warning
This commit is contained in:
parent
6f3d897156
commit
864269b0cf
@ -66,6 +66,7 @@ void GxsChannelDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> ev
|
|||||||
{
|
{
|
||||||
case RsChannelEventCode::STATISTICS_CHANGED: // [[fallthrough]];
|
case RsChannelEventCode::STATISTICS_CHANGED: // [[fallthrough]];
|
||||||
updateDisplay(true); // no breaks, on purpose!
|
updateDisplay(true); // no breaks, on purpose!
|
||||||
|
Q_FALLTHROUGH();
|
||||||
|
|
||||||
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
|
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
|
||||||
case RsChannelEventCode::UPDATED_MESSAGE: // [[fallthrough]];
|
case RsChannelEventCode::UPDATED_MESSAGE: // [[fallthrough]];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user