forked from osmocom/wireshark
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>
This commit is contained in:
parent
768e37b792
commit
0ebbb60279
|
@ -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_) {
|
||||
|
|
Loading…
Reference in New Issue