forked from osmocom/wireshark
nettrace_3gpp_32_423: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I9f59b5ae6fe34d124b6930fa759c7c76c38aa213 Reviewed-on: https://code.wireshark.org/review/31412 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
de71f0e16d
commit
0f638f84b9
|
@ -1114,15 +1114,8 @@ create_temp_pcapng_file(wtap *wth, int *err, gchar **err_info, nettrace_3gpp_32_
|
|||
curr_pos = strstr(curr_pos, "address == ");
|
||||
if ((curr_pos) && (curr_pos < next_pos)) {
|
||||
curr_pos += 11;
|
||||
curr_pos = nettrace_parse_address(curr_pos, next_pos, FALSE/*DST */, &exported_pdu_info);
|
||||
nettrace_parse_address(curr_pos, next_pos, FALSE/*DST */, &exported_pdu_info);
|
||||
}
|
||||
else {
|
||||
/* address not found */
|
||||
curr_pos = next_pos;
|
||||
}
|
||||
} else {
|
||||
/* "<target>" not found */
|
||||
curr_pos = prev_pos;
|
||||
}
|
||||
|
||||
/* Do we have a raw msg?) */
|
||||
|
|
Loading…
Reference in New Issue