diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 22:00:42 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-06-29 22:00:42 +0000 |
commit | 70dde30fe9d74a67c82c4d0d1bbfac36b79de031 (patch) | |
tree | 6d1d05cd72b05f2f090abdfab5cfe86f13397e0f /epan/dissectors/packet-cisco-sm.c | |
parent | 5da25f80b40d00bec73bbf480666c67cc60bd934 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50243
Diffstat (limited to 'epan/dissectors/packet-cisco-sm.c')
-rw-r--r-- | epan/dissectors/packet-cisco-sm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cisco-sm.c b/epan/dissectors/packet-cisco-sm.c index 4882524f20..6f8fec590a 100644 --- a/epan/dissectors/packet-cisco-sm.c +++ b/epan/dissectors/packet-cisco-sm.c @@ -386,7 +386,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset = offset +2; next_tvb = tvb_new_subset(tvb, offset, length, length); call_dissector(sdp_handle, next_tvb, pinfo, sm_tree); - offset = offset+length; + /*offset = offset+length;*/ } /*return;*/ @@ -418,7 +418,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) offset = offset +2; next_tvb = tvb_new_subset(tvb, offset, length, length); call_dissector(sdp_handle, next_tvb, pinfo, sm_tree); - offset = offset+length; + /*offset = offset+length;*/ } break; |