diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-03-02 16:01:17 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-03-02 19:02:24 +0000 |
commit | 0ebbb60279e9e5651d516ccb5dbbdd6467457c23 (patch) | |
tree | 84368deae9ad745fdc29b6f8e5045e95a1868d00 /ui | |
parent | 768e37b792e5de46e03a396fc416d0a42b71243b (diff) |
Byte view text (Qt): Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I507b27bbf3c2877517cc9613ada1b182becfa98f
Reviewed-on: https://code.wireshark.org/review/7495
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/byte_view_text.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/qt/byte_view_text.cpp b/ui/qt/byte_view_text.cpp index 8b2504979b..e8b11e017e 100644 --- a/ui/qt/byte_view_text.cpp +++ b/ui/qt/byte_view_text.cpp @@ -388,7 +388,6 @@ void ByteViewText::drawOffsetLine(QPainter &painter, const guint offset, const i if (text.length() > 0) { flushOffsetFragment(painter, ascii_x, row_y, state, text); } - state = StateNormal; // Offset. Must be drawn last in order for offset_state to be set. if (show_offset_) { |