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:
Alexis La Goutte 2019-08-01 17:29:03 +00:00 committed by Anders Broman
parent ad5db22a14
commit 6376a69675
1 changed files with 1 additions and 1 deletions

View File

@ -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