aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mrcpv2.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-18 15:52:05 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-18 15:52:05 +0000
commit46452171c9a3cb160913bccd10cdb67e1887be3a (patch)
treee4f6b59b29d08d6c29d51e02a18cdd2757f89987 /epan/dissectors/packet-mrcpv2.c
parent46049a8747c00db46ba9194aae29a75f11acb030 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47149
Diffstat (limited to 'epan/dissectors/packet-mrcpv2.c')
-rw-r--r--epan/dissectors/packet-mrcpv2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mrcpv2.c b/epan/dissectors/packet-mrcpv2.c
index 5d3fbe64e2..a40ab5efd6 100644
--- a/epan/dissectors/packet-mrcpv2.c
+++ b/epan/dissectors/packet-mrcpv2.c
@@ -528,7 +528,7 @@ dissect_mrcpv2_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* request ID */
str_len = (gint)strlen(field4);
proto_tree_add_item(request_line_item, hf_mrcpv2_request_id, tvb, offset, str_len, ENC_UTF_8);
- offset += str_len + 2; /* add CRLF */
+ /*offset += str_len + 2;*/ /* add CRLF */
}
break;
case RESPONSE_LINE:
@@ -558,7 +558,7 @@ dissect_mrcpv2_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_append_fstr(pinfo->cinfo, COL_INFO, "(%s) %s", field4, field5);
str_len = (gint)strlen(field5);
proto_tree_add_item(response_line_item, hf_mrcpv2_request_state, tvb, offset, str_len, ENC_UTF_8);
- offset += str_len + 2; /* add CRLF */
+ /*offset += str_len + 2;*/ /* add CRLF */
}
break;
case EVENT_LINE:
@@ -586,7 +586,7 @@ dissect_mrcpv2_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* request state */
str_len = (gint)strlen(field5);
proto_tree_add_item(event_line_item, hf_mrcpv2_request_state, tvb, offset, str_len, ENC_UTF_8);
- offset += str_len + 2; /* add CRLF */
+ /*offset += str_len + 2;*/ /* add CRLF */
}
break;
default: