diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-10-04 17:55:42 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-10-04 20:27:13 +0000 |
commit | 8e172773f4fabd13b49030ee44488e59e66d55cc (patch) | |
tree | 3f658069971354205933c37947c9b7c65ace9dfb /epan/dissectors/packet-juniper.c | |
parent | 4d6264201cf7832cb9c3b407231d6f8ee362c6fa (diff) |
Juniper: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I9178a3de683dda661ed68ef6d743036a9f8aa39e
Reviewed-on: https://code.wireshark.org/review/4462
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-juniper.c')
-rw-r--r-- | epan/dissectors/packet-juniper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-juniper.c b/epan/dissectors/packet-juniper.c index 3e3387a2c3..247c817096 100644 --- a/epan/dissectors/packet-juniper.c +++ b/epan/dissectors/packet-juniper.c @@ -1040,7 +1040,7 @@ dissect_juniper_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 break; default: /* should not happen */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "Juniper ATM unknown"); - juniper_subtree = proto_tree_add_subtree(tree, tvb, 0, 0 , ett_juniper, NULL, "Juniper unknown ATM PIC"); + proto_tree_add_subtree(tree, tvb, 0, 0 , ett_juniper, NULL, "Juniper unknown ATM PIC"); return; } |