aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nlsp.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-08-20 18:50:40 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-08-20 18:50:40 +0000
commitb0adfae289dddf15ed095e7a8aecdbf50862e7d6 (patch)
tree78bfa7e3cc00aaf8302d67a669e56d6fcb314d3b /epan/dissectors/packet-nlsp.c
parent2cb65291c17cdc4db20dfaf4b78b6e8c14661dc4 (diff)
Fix clang warnings: Value stored to '[offset|length]' is never read.
svn path=/trunk/; revision=51442
Diffstat (limited to 'epan/dissectors/packet-nlsp.c')
-rw-r--r--epan/dissectors/packet-nlsp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/epan/dissectors/packet-nlsp.c b/epan/dissectors/packet-nlsp.c
index f726aa4407..9a05b820ae 100644
--- a/epan/dissectors/packet-nlsp.c
+++ b/epan/dissectors/packet-nlsp.c
@@ -362,8 +362,6 @@ dissect_hello_local_mtu_clv(tvbuff_t *tvb, proto_tree *tree, int offset,
"MTU Size: %u",
tvb_get_ntohl(tvb, offset));
}
- offset += 4;
- length -= 4;
}
static const nlsp_clv_handle_t clv_hello_opts[] = {
@@ -607,8 +605,6 @@ dissect_lsp_mgt_info_clv(tvbuff_t *tvb, proto_tree *tree, int offset,
"Name: %s",
tvb_format_text(tvb, offset, name_length));
}
- offset += name_length;
- length -= name_length;
}
}
@@ -765,8 +761,6 @@ dissect_lsp_link_info_clv(tvbuff_t *tvb, proto_tree *tree, int offset,
val_to_str(tvb_get_ntohs(tvb, offset), media_type_vals,
"Unknown (0x%04x)"));
}
- offset += 2;
- length -= 2;
}
/*