aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbns.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-18 23:53:04 +0200
committerEvan Huus <eapache@gmail.com>2014-04-18 23:03:54 +0000
commit2e3ad3e8b9ce3ad69d8029f9655358045101a500 (patch)
tree120842cc7ea139ae60f34ad92c07d6faff6a073b /epan/dissectors/packet-nbns.c
parent587140992bce1b28471c53dbc7bdc3bf48ce38ea (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I27b43b9326caaff7df5fbc65afdc77b06850c2a8 Reviewed-on: https://code.wireshark.org/review/1210 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r--epan/dissectors/packet-nbns.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c
index 90f4d257cc..915177cf7d 100644
--- a/epan/dissectors/packet-nbns.c
+++ b/epan/dissectors/packet-nbns.c
@@ -1803,7 +1803,6 @@ dissect_nbss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
* Get the length of the NBSS message.
*/
if (is_cifs) {
- flags = 0;
length = tvb_get_ntoh24(tvb, offset + 1);
} else {
flags = tvb_get_guint8(tvb, offset + 1);