BMP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

Change-Id: I322be0953ce8c872f8464c3e095dfe9006d3b67b
Reviewed-on: https://code.wireshark.org/review/7261
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2015-02-19 22:38:45 +01:00 committed by Anders Broman
parent b9296b721f
commit 1c4053f8b3
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ dissect_bmp_termination(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
} else {
proto_tree_add_item(subtree, hf_term_reason, tvb, offset, term_len, ENC_BIG_ENDIAN);
}
offset += term_len;
/*offset += term_len;*/
}