forked from osmocom/wireshark
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48506
This commit is contained in:
parent
22620ca12e
commit
4633fb157a
1 changed files with 6 additions and 6 deletions
|
@ -1771,7 +1771,7 @@ static gint rtps_util_add_typecode(proto_tree *tree,
|
||||||
offset += 4;
|
offset += 4;
|
||||||
|
|
||||||
/* Recursive decode seq typecode */
|
/* Recursive decode seq typecode */
|
||||||
offset += rtps_util_add_typecode(
|
/*offset += */rtps_util_add_typecode(
|
||||||
tree,
|
tree,
|
||||||
tvb,
|
tvb,
|
||||||
offset,
|
offset,
|
||||||
|
@ -1812,7 +1812,7 @@ static gint rtps_util_add_typecode(proto_tree *tree,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recursive decode seq typecode */
|
/* Recursive decode seq typecode */
|
||||||
offset += rtps_util_add_typecode(
|
/*offset += */rtps_util_add_typecode(
|
||||||
tree,
|
tree,
|
||||||
tvb,
|
tvb,
|
||||||
offset,
|
offset,
|
||||||
|
@ -2881,7 +2881,7 @@ static gint dissect_parameter_sequence(proto_tree *tree,
|
||||||
"filterExpression",
|
"filterExpression",
|
||||||
NULL,
|
NULL,
|
||||||
0);
|
0);
|
||||||
temp_offset = rtps_util_add_seq_string(rtps_parameter_tree,
|
/*temp_offset = */rtps_util_add_seq_string(rtps_parameter_tree,
|
||||||
tvb,
|
tvb,
|
||||||
temp_offset,
|
temp_offset,
|
||||||
little_endian,
|
little_endian,
|
||||||
|
@ -3486,7 +3486,7 @@ static void dissect_DATA(tvbuff_t *tvb,
|
||||||
/* SerializedData */
|
/* SerializedData */
|
||||||
if ((flags & FLAG_DATA_D) != 0) {
|
if ((flags & FLAG_DATA_D) != 0) {
|
||||||
if (is_builtin_entity) {
|
if (is_builtin_entity) {
|
||||||
offset = dissect_parameter_sequence(tree, pinfo, tvb, offset,
|
/*offset =*/ dissect_parameter_sequence(tree, pinfo, tvb, offset,
|
||||||
little_endian, octets_to_next_header, "serializedData");
|
little_endian, octets_to_next_header, "serializedData");
|
||||||
} else {
|
} else {
|
||||||
proto_tree_add_item(tree,
|
proto_tree_add_item(tree,
|
||||||
|
@ -4189,7 +4189,7 @@ static void dissect_INFO_REPLY_IP4(tvbuff_t *tvb,
|
||||||
if ((flags & FLAG_INFO_REPLY_IP4_M) != 0) {
|
if ((flags & FLAG_INFO_REPLY_IP4_M) != 0) {
|
||||||
rtps_util_add_locator_udp_v4(tree, pinfo, tvb, offset,
|
rtps_util_add_locator_udp_v4(tree, pinfo, tvb, offset,
|
||||||
"multicastReplyLocator", little_endian);
|
"multicastReplyLocator", little_endian);
|
||||||
offset += 8;
|
/*offset += 8;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4306,7 +4306,7 @@ static void dissect_INFO_REPLY(tvbuff_t *tvb,
|
||||||
/* multicastReplyLocatorList */
|
/* multicastReplyLocatorList */
|
||||||
if ((flags & FLAG_INFO_REPLY_M) != 0) {
|
if ((flags & FLAG_INFO_REPLY_M) != 0) {
|
||||||
rtps_util_add_locator_list(tree, pinfo, tvb, offset, "multicastReplyLocatorList", little_endian);
|
rtps_util_add_locator_list(tree, pinfo, tvb, offset, "multicastReplyLocatorList", little_endian);
|
||||||
offset += 8;
|
/*offset += 8;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue