aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ncp2222.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc
index d7fa2feed9..e386c63502 100644
--- a/epan/dissectors/packet-ncp2222.inc
+++ b/epan/dissectors/packet-ncp2222.inc
@@ -6994,7 +6994,6 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo,
ptvcursor_t *volatile ptvc = NULL;
proto_tree *temp_tree = NULL;
volatile gboolean run_req_cond = FALSE;
- guint32 length_remaining;
volatile unsigned long exception_code;
const char *volatile message;
proto_item *ti;
@@ -7012,7 +7011,6 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo,
/* Determine which ncp_record to use. */
switch (type) {
case NCP_ALLOCATE_SLOT:
- length_remaining = tvb_captured_length_remaining(tvb, 4);
ncp_rec = &ncp1111_request;
if (ncp_echo_conn) {
expert_add_info(pinfo, NULL, &ei_ncp_connection_request);