From: Alexis La Goutte Date: Mon, 2 Feb 2015 21:28:59 +0000 (+0100) Subject: ISIS: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang X-Git-Url: http://git.samba.org/?p=metze%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=9d7f5c761193ebf20427fc5d1df49be2ded58b50 ISIS: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Change-Id: I58debb32cc7a4aa476961eda342f1cd90884c800 Reviewed-on: https://code.wireshark.org/review/6921 Reviewed-by: Michael Mann --- diff --git a/epan/dissectors/packet-isis-lsp.c b/epan/dissectors/packet-isis-lsp.c index 09d1dc8a69..752b91166c 100644 --- a/epan/dissectors/packet-isis-lsp.c +++ b/epan/dissectors/packet-isis-lsp.c @@ -2202,7 +2202,7 @@ dissect_subclv_bw_ct(tvbuff_t *tvb, proto_tree *tree, int offset, int sublen) bw = tvb_get_ntohieee_float(tvb, offset)*8/1000000; proto_tree_add_float_format_value(ntree, hf_isis_lsp_bw_ct7, tvb, offset, 4, bw, "%.2f Mbps", bw); - offset += 4; + /*offset += 4;*/ } }