forked from osmocom/wireshark
rtps: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I88f159f7823026cff82892a59d72a017777fcbab Reviewed-on: https://code.wireshark.org/review/34160 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Ismael Mendez <ismael@rti.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
ad5db22a14
commit
6376a69675
|
@ -3953,7 +3953,7 @@ static void rtps_add_zlib_compressed_typeobject(proto_tree *tree _U_, packet_inf
|
|||
decompressed_data_child_tvb, 0, encoding, decompressed_size);
|
||||
}
|
||||
else {
|
||||
decompressed_type_object_subtree = proto_tree_add_subtree(tree, compressed_type_object_subset,
|
||||
proto_tree_add_subtree(tree, compressed_type_object_subset,
|
||||
0, 0, ett_rtps_decompressed_type_object, NULL, "[Failed to decompress type object]");
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue