diff options
author | Anders Broman <anders.broman@ericsson.com> | 2011-10-25 20:08:26 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2011-10-25 20:08:26 +0000 |
commit | ae8165fd4c5beb5cb35a56f23a07c250e61cd3d0 (patch) | |
tree | 3c5cad655738cc400f4143bf0e38052cce5d629d /epan/dissectors/packet-eigrp.c | |
parent | 54e47c82851d45e43c521564fb4d786f2d0795a8 (diff) |
Fix some set but not used [-Wunused-but-set-variable] warnings.
svn path=/trunk/; revision=39579
Diffstat (limited to 'epan/dissectors/packet-eigrp.c')
-rw-r--r-- | epan/dissectors/packet-eigrp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-eigrp.c b/epan/dissectors/packet-eigrp.c index c868243030..f6117a7074 100644 --- a/epan/dissectors/packet-eigrp.c +++ b/epan/dissectors/packet-eigrp.c @@ -651,7 +651,7 @@ dissect_eigrp_parameter (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, proto_item *ti) { int offset = 0; - guint8 k1, k2, k3, k4, k5, k6; + guint8 k1, k2, k3, k4, k5; k1 = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_eigrp_par_k1, tvb, offset, 1, ENC_BIG_ENDIAN); @@ -673,7 +673,6 @@ dissect_eigrp_parameter (proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, proto_tree_add_item(tree, hf_eigrp_par_k5, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; - k6 = tvb_get_guint8(tvb, offset); proto_tree_add_item(tree, hf_eigrp_par_k6, tvb, offset, 1, ENC_BIG_ENDIAN); offset += 1; |