aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wccp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-09-30 09:03:06 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-09-30 09:03:06 +0000
commit8a959928601f86b6256527a6f5fa1129b862db86 (patch)
treeae4bf36b43bf4ac2ee3fd920a690cce5f9ae2ea3 /epan/dissectors/packet-wccp.c
parentfe92d7a217abe66756288f477ecfa0f57cd23712 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=52287
Diffstat (limited to 'epan/dissectors/packet-wccp.c')
-rw-r--r--epan/dissectors/packet-wccp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wccp.c b/epan/dissectors/packet-wccp.c
index 7f5d4ad4da..725eb17fb2 100644
--- a/epan/dissectors/packet-wccp.c
+++ b/epan/dissectors/packet-wccp.c
@@ -2794,7 +2794,6 @@ dissect_wccp2_alternate_assignment_info(tvbuff_t *tvb, int offset, gint length,
expert_add_info_format(pinfo, tf, &ei_wccp_assignment_length_bad,
"Assignment length is %d but %d remain in the packet. Assuming that the assignment length is wrong and setting it to %d.",
assignment_length, length, length);
- assignment_length = length;
}
new_length=dissect_wccp2_assignment_key_element(tvb, offset, length, pinfo, info_tree);