aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-27 18:13:31 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-27 18:13:31 +0000
commitb385299f0ea1b1893e2363bf9a4392b293457232 (patch)
tree2e9f18c78369175038cb840dbfcd0ac3e8747f2d
parent1a9ab4c8c6400d070a9dfbbf5ed435b213157a8f (diff)
From Yaniv Kaul:
Some fixes for 'set but not used' errors that GCC 4.6 emits. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36912 f5534014-38df-0310-8fa8-9805f1628bb7
-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