diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-04-18 23:53:04 +0200 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-04-18 23:03:54 +0000 |
commit | 2e3ad3e8b9ce3ad69d8029f9655358045101a500 (patch) | |
tree | 120842cc7ea139ae60f34ad92c07d6faff6a073b | |
parent | 587140992bce1b28471c53dbc7bdc3bf48ce38ea (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>
-rw-r--r-- | epan/dissectors/packet-nbns.c | 1 |
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); |