summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-19 09:22:43 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-19 10:37:55 +0000
commit6ee10f442c1f3a0ceb594c9b5504ca0c763ab3ad (patch)
tree57d2978351b0b8b36c6eda60839ce6b30a7d0f27 /tools
parentec564258e7f990e698cffa181f6e75cb359fa571 (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.cpp2
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))) {