aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-linx.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-11-09 15:16:51 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-11-09 15:16:51 +0000
commitd7a3a9d99c6e77612e094ecd95d083ea9a4c1a91 (patch)
tree681b84793b6d8a50171ff98adb1fc8292519a2ce /epan/dissectors/packet-linx.c
parentaf45c9dd3e47d8737e404024561ad567483bda73 (diff)
Removed some unused variables.
svn path=/trunk/; revision=30901
Diffstat (limited to 'epan/dissectors/packet-linx.c')
-rw-r--r--epan/dissectors/packet-linx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-linx.c b/epan/dissectors/packet-linx.c
index d7d2b42028..6821fe211b 100644
--- a/epan/dissectors/packet-linx.c
+++ b/epan/dissectors/packet-linx.c
@@ -218,12 +218,10 @@ dissect_linx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int offset = 0;
int nexthdr;
int thishdr;
- int paircount;
int size;
int pkgsize;
int payloadsize;
int version;
- int nackcount;
int conntype;
proto_item *item;
proto_tree *main_header_tree;
@@ -325,7 +323,6 @@ dissect_linx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*/
- paircount = dword & 0xff;
size = (dword >>21) & 0x7;
item = proto_tree_add_text(linx_tree, linx_tvb, offset, (4+2*size), "Connection Header");
conn_header_tree = proto_item_add_subtree(item, ett_linx_main);
@@ -367,7 +364,6 @@ dissect_linx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* longer seqence numbers. */
/* guess there will be padding if the Seqno doesn't reach */
/* a 32bit boundary */
- nackcount = (dword >> 16) & 0xff;
item = proto_tree_add_text(linx_tree, linx_tvb, offset, 4, "NACK Header");
nack_header_tree = proto_item_add_subtree(item, ett_linx_main);