jxta: remove dead code (CID 1159018).
Check already present in line 1226. Change-Id: I2b3cd15a1d35b334a690afd3ce1a9b8b1f32e188 Reviewed-on: https://code.wireshark.org/review/17029 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
620f5721b1
commit
854793d48e
|
@ -1288,13 +1288,10 @@ static int dissect_jxta_message(tvbuff_t * tvb, packet_info * pinfo, proto_tree
|
|||
tvbuff_t *jxta_message_element_tvb = tvb_new_subset_remaining(tvb, offset);
|
||||
int processed;
|
||||
|
||||
if(JXTA_MSG_VERSION_1 == message_version) {
|
||||
if (JXTA_MSG_VERSION_1 == message_version) {
|
||||
processed = dissect_jxta_message_element_1(jxta_message_element_tvb, pinfo, NULL, 0, NULL);
|
||||
} else if(JXTA_MSG_VERSION_2 == message_version) {
|
||||
} else { /* JXTA_MSG_VERSION_2 */
|
||||
processed = dissect_jxta_message_element_2(jxta_message_element_tvb, pinfo, NULL, 0, NULL);
|
||||
} else {
|
||||
/* Sort of a lie, we say that we don't recognize it at all. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (processed < 0) {
|
||||
|
|
Loading…
Reference in New Issue