diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-08-24 14:32:18 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-09-04 11:53:36 +0200 |
commit | 85bec28aafc05c9b1fe3428832ee18af82747123 (patch) | |
tree | 960d0931c90dd7994b8d6b7ecd237eef0bd12963 /src | |
parent | 9da08816e1072fc1391377a38d6afd9e73d756e0 (diff) | |
download | qtxmlpatterns-85bec28aafc05c9b1fe3428832ee18af82747123.tar.gz |
Change a fall-through comment to Q_FALLTHROUGH()
Calms gcc 7, which makes unannounced fall-through part of our standard
warnings (which are handled as error in developer builds).
Change-Id: Idc8cbb91d2fc5530a979b0ff06adde13f7c1b675
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/xmlpatterns/parser/qquerytransformparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/parser/qquerytransformparser.cpp b/src/xmlpatterns/parser/qquerytransformparser.cpp index ea28c69..d7d642c 100644 --- a/src/xmlpatterns/parser/qquerytransformparser.cpp +++ b/src/xmlpatterns/parser/qquerytransformparser.cpp @@ -3070,7 +3070,7 @@ yytnamerr (char *yyres, const char *yystr) case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; - /* Fall through. */ + Q_FALLTHROUGH(); default: if (yyres) yyres[yyn] = *yyp; |