From: Manuel Nickschas Date: Tue, 19 Dec 2017 21:37:45 +0000 (+0100) Subject: qa: Add [[fallthrough]] annotations where appropriate X-Git-Tag: travis-deploy-test~228 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=45affd4fa815bb21d0b2e46ac80114bb9174f801;hp=45affd4fa815bb21d0b2e46ac80114bb9174f801 qa: Add [[fallthrough]] annotations where appropriate Newer GCCs start to warn about this, so add attributes or rearrange code as appropriate. While the [[fallthrough]] attribute has only been standardized in C++17, it should simply be ignored by older compilers (and it does shut up GCC even when compiling with -std=c++11). ---