diff --git a/src/libclient/uri.cpp b/src/libclient/uri.cpp
index df51589da8d8442ee56d4ab14a321012bcae7f7b..b60a94274ba534366f6ad2ce1ea67086526b9268 100644
--- a/src/libclient/uri.cpp
+++ b/src/libclient/uri.cpp
@@ -297,7 +297,7 @@ URIPimpl::checkIp(const QString& str, bool& isHash, const URI::SchemeType& schem
             isHash = false;
             sc++;
             // No break
-            [[clang::fallthrough]];
+            [[fallthrough]];
         case 'A':
         case 'B':
         case 'C':