aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netlink-sock_diag.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-15 19:07:09 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-15 19:07:09 +0000
commitaae72004b350a1d217a7a751ae583347e8436f43 (patch)
tree5169a9421a30b2eb3f0d3949a8f04a301a7a84ef /epan/dissectors/packet-netlink-sock_diag.c
parent9f22d3a558a1e90f4dd540ecc9ec6b02fc4bae9b (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=54129
Diffstat (limited to 'epan/dissectors/packet-netlink-sock_diag.c')
-rw-r--r--epan/dissectors/packet-netlink-sock_diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-netlink-sock_diag.c b/epan/dissectors/packet-netlink-sock_diag.c
index 683791c194..29492f63f2 100644
--- a/epan/dissectors/packet-netlink-sock_diag.c
+++ b/epan/dissectors/packet-netlink-sock_diag.c
@@ -564,7 +564,7 @@ dissect_sock_diag_inet_attributes(tvbuff_t *tvb, void *data, proto_tree *tree, i
offset += 4;
proto_tree_add_item(tree, &hfi_netlink_sock_diag_wmem_alloc, tvb, offset, 4, info->encoding);
- offset += 4;
+ /*offset += 4;*/
return 1;
}