aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-04-27 18:13:31 +0000
committerBill Meier <wmeier@newsguy.com>2011-04-27 18:13:31 +0000
commit00d378fbf8e4adff3448108d70bdaf9810c6298a (patch)
tree2e9f18c78369175038cb840dbfcd0ac3e8747f2d /epan/dissectors
parentc588ff282afcc1416e30bc1335e71e929ae4a89b (diff)
From Yaniv Kaul:
Some fixes for 'set but not used' errors that GCC 4.6 emits. svn path=/trunk/; revision=36912
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-clnp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-clnp.c b/epan/dissectors/packet-clnp.c
index b32fa7f8ca..5f7f2ceb98 100644
--- a/epan/dissectors/packet-clnp.c
+++ b/epan/dissectors/packet-clnp.c
@@ -208,7 +208,6 @@ static void dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int offset;
guchar src_len, dst_len, nsel, opt_len = 0;
const guint8 *dst_addr, *src_addr;
- gint len;
guint next_length;
proto_tree *discpdu_tree;
gboolean save_in_error_pkt;
@@ -424,9 +423,6 @@ static void dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb, offset, clnp_tree );
}
- /* Length of CLNP datagram plus headers above it. */
- len = segment_length;
-
offset = cnf_hdr_len;
/* If clnp_reassemble is on, this is a segment, we have all the