aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-04-12 19:06:51 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-04-12 19:06:51 +0000
commitb8623718159b113264203288dc5ddef6cd1da9f0 (patch)
tree8f0393df0a12aa4ede8872a5ba5749eccadb7142 /asn1
parent191433027437ddc98ac595c50d9e431bf0f576e6 (diff)
Removed some unused variables.
svn path=/trunk/; revision=36602
Diffstat (limited to 'asn1')
-rw-r--r--asn1/tetra/packet-tetra-template.c5
1 files changed, 2 insertions, 3 deletions
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 */