diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-19 09:22:43 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-19 10:37:55 +0000 |
commit | 6ee10f442c1f3a0ceb594c9b5504ca0c763ab3ad (patch) | |
tree | 57d2978351b0b8b36c6eda60839ce6b30a7d0f27 /tools | |
parent | ec564258e7f990e698cffa181f6e75cb359fa571 (diff) |
repc: Fix g++ 7.2 compiler warning about fall through
main.cpp:151:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
Change-Id: Ibcfd534c9fecd3c3dddf139cf91b87ae5abbfc5d
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/repc/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/repc/main.cpp b/tools/repc/main.cpp index 05add41..41adee2 100644 --- a/tools/repc/main.cpp +++ b/tools/repc/main.cpp @@ -153,7 +153,7 @@ int main(int argc, char **argv) if (outputFile.endsWith(QLatin1Literal(".rep"))) mode |= OutRep; } - // fall through + Q_FALLTHROUGH(); case 1: inputFile = files.first(); if (!(mode & (InRep | InSrc))) { |