aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-lct.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-05-24 17:24:58 +0000
committerEvan Huus <eapache@gmail.com>2013-05-24 17:24:58 +0000
commitf953ba8346a2daed462c2371ae3b10c1d166eb78 (patch)
tree02620d8ff22d815aefe7725a3046765f050c8b8d /epan/dissectors/packet-rmt-lct.c
parentd12fc51afd1bca6c0b7b2858a18772b29f514c0c (diff)
Remove unused function parameter, rename variable to avoid shadowing.
svn path=/trunk/; revision=49556
Diffstat (limited to 'epan/dissectors/packet-rmt-lct.c')
-rw-r--r--epan/dissectors/packet-rmt-lct.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-rmt-lct.c b/epan/dissectors/packet-rmt-lct.c
index c851834f3d..36fe8cbf33 100644
--- a/epan/dissectors/packet-rmt-lct.c
+++ b/epan/dissectors/packet-rmt-lct.c
@@ -223,7 +223,7 @@ int lct_ext_decode(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint of
break;
case 64: /* EXT_FTI */
- fec_decode_ext_fti(tvb, pinfo, ext_tree, offset, length,
+ fec_decode_ext_fti(tvb, pinfo, ext_tree, offset,
(data_exchange == NULL) ? 0 : data_exchange->codepoint);
break;
@@ -282,7 +282,7 @@ dissect_lct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
guint64 tsi;
guint64 toi;
guint16 hlen;
- nstime_t time;
+ nstime_t tmp_time;
/* Set up structures needed to add the protocol subtree and manage it */
proto_item *ti;
@@ -442,15 +442,15 @@ dissect_lct(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
/* Sender Current Time (SCT) */
if (buffer16 & LCT_SCT_FLAG) {
- lct_timestamp_parse(tvb_get_ntohl(tvb, offset), &time);
- proto_tree_add_time(lct_tree, hf_sct, tvb, offset, 4, &time);
+ lct_timestamp_parse(tvb_get_ntohl(tvb, offset), &tmp_time);
+ proto_tree_add_time(lct_tree, hf_sct, tvb, offset, 4, &tmp_time);
offset += 4;
}
/* Expected Residual Time (ERT) */
if (buffer16 & LCT_ERT_FLAG) {
- lct_timestamp_parse(tvb_get_ntohl(tvb, offset), &time);
- proto_tree_add_time(lct_tree, hf_ert, tvb, offset, 4, &time);
+ lct_timestamp_parse(tvb_get_ntohl(tvb, offset), &tmp_time);
+ proto_tree_add_time(lct_tree, hf_ert, tvb, offset, 4, &tmp_time);
offset += 4;
}