From b8623718159b113264203288dc5ddef6cd1da9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 12 Apr 2011 19:06:51 +0000 Subject: Removed some unused variables. svn path=/trunk/; revision=36602 --- asn1/tetra/packet-tetra-template.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'asn1') diff --git a/asn1/tetra/packet-tetra-template.c b/asn1/tetra/packet-tetra-template.c index 4001a3a8bd..373bddc89c 100644 --- a/asn1/tetra/packet-tetra-template.c +++ b/asn1/tetra/packet-tetra-template.c @@ -80,7 +80,6 @@ static gint hf_tetra_rxchannel1 = -1; static gint hf_tetra_rxchannel2 = -1; static gint hf_tetra_crc = -1; static gint hf_tetra_len0 = -1; -static gint hf_tetra_bits = -1; #include "packet-tetra-hf.c" @@ -362,7 +361,7 @@ static void dissect_tetra_UNITDATA_IND(tvbuff_t *tvb, packet_info *pinfo, proto_ } } -void dissect_tetra_UNITDATA_REQ(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tetra_tree, int offset, gboolean dissect) +void dissect_tetra_UNITDATA_REQ(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tetra_tree, int offset) { guint32 txreg = 0; guint32 channels = 0, i; @@ -518,7 +517,7 @@ dissect_tetra(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) switch(type) { case 1: /* tetra-UNITDATA-REQ */ case 128: /* tetra-UNITDATA-REQ Done */ - dissect_tetra_UNITDATA_REQ(tvb, pinfo, tetra_header_tree, offset, 1); + dissect_tetra_UNITDATA_REQ(tvb, pinfo, tetra_header_tree, offset); break; case 2: /* tetra-UNITDATA-IND */ case 127: /* tetra-UNITDATA-IND Done */ -- cgit v1.2.3