qa: Add [[fallthrough]] annotations where appropriate
[quassel.git] / src / core / eventstringifier.cpp
index 43d29d9..b0f9d30 100644 (file)
@@ -598,10 +598,13 @@ void EventStringifier::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;
     }