giop: Fix Dead Store found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2022-10-10 08:37:24 +00:00 committed by Gerald Combs
parent 0bf410550b
commit 47bd05e494
1 changed files with 1 additions and 1 deletions

View File

@ -2010,7 +2010,7 @@ static gboolean try_heuristic_giop_dissector(tvbuff_t *tvb, packet_info *pinfo,
*pinfo = saved_pinfo;
pinfo->current_proto =
proto_get_protocol_short_name(subh->sub_proto);
res = (subh->sub_fn)(tvb, pinfo, tree, offset, header, operation, NULL); /* callit TODO - replace NULL */
(subh->sub_fn)(tvb, pinfo, tree, offset, header, operation, NULL); /* callit TODO - replace NULL */
return TRUE; /* found one, lets return */
} else { // restoring data
*pinfo = saved_pinfo;