diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-09-17 19:21:01 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-09-18 12:40:41 +0000 |
commit | 88b88a0e809029c7f74f97c22ae9ee449bf4f749 (patch) | |
tree | bb20e70705bd9e436c00de28c3b6da6b67be446e /ui | |
parent | 0a5205b412b6b7d2a8062b3f31e10f883bd8d9aa (diff) |
Qt: Fix -Wimplicit-fallthrough with GCC
../../../ui/qt/models/decode_as_model.cpp: In member function ‘virtual QVariant DecodeAsModel::data(const QModelIndex&, int) const’:
../../../ui/qt/models/decode_as_model.cpp:155:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
Change-Id: I29654a0f6ce6cce7bc778231bc8d6e602875104f
Reviewed-on: https://code.wireshark.org/review/23589
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/models/decode_as_model.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/models/decode_as_model.cpp b/ui/qt/models/decode_as_model.cpp index e4e654ddb1..42a907faf5 100644 --- a/ui/qt/models/decode_as_model.cpp +++ b/ui/qt/models/decode_as_model.cpp @@ -153,6 +153,7 @@ QVariant DecodeAsModel::data(const QModelIndex &index, int role) const } else if (selector_type == FT_NONE) { return tr("<none>"); } + break; } case colDefault: return item->default_proto_; |