qa: Add [[fallthrough]] annotations where appropriate
[quassel.git] / src / core / coresessioneventprocessor.cpp
index 7c414ba..ff1d241 100644 (file)
@@ -985,10 +985,13 @@ void CoreSessionEventProcessor::processIrcEvent322(IrcEvent *e)
     switch (e->params().count()) {
     case 3:
         topic = e->params()[2];
+        [[fallthrough]];
     case 2:
         userCount = e->params()[1].toUInt();
+        [[fallthrough]];
     case 1:
         channelName = e->params()[0];
+        [[fallthrough]];
     default:
         break;
     }