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:
Alexis La Goutte 2015-03-02 16:01:17 +01:00 committed by Gerald Combs
parent 768e37b792
commit 0ebbb60279
1 changed files with 0 additions and 1 deletions

View File

@ -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_) {