diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 14:49:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 14:57:26 +0200 |
commit | 0f3ac23d732239b50207cfbb8cf810ef41fa9835 (patch) | |
tree | a338a71c043dfa71e9de3c6cdc5b239b5f4b04a3 /hwpfilter | |
parent | 356cef643585469d17232543e4cb98ee4f3c225b (diff) |
Insert explicit "break" when falling through to empty next case
...which itself only contains a "break" (or nothing at all at the end of the
"switch"), as otherwise Clang -Wimplicit-fallthrough would warn about these.
Change-Id: I25c1cf2ca74dfeba7ca0385ca8f1c1bf30bbf91b
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/formula.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hwpfilter/source/formula.cxx b/hwpfilter/source/formula.cxx index 0022efe1f8ca..3b114f783f72 100644 --- a/hwpfilter/source/formula.cxx +++ b/hwpfilter/source/formula.cxx @@ -178,9 +178,8 @@ void Formula::makeExpr(Node *res) break; case ID_BLOCK: makeBlock(tmp); - //fall-through + break; case ID_BEGIN: - //fall-through case ID_END: break; } |