print: remove assert in get_field_data().

The check in the caller suggests this function can fail. The
assert should not be necessary, then.

Bug: 16218
Change-Id: Ic2186f3c51751db61436719bbf5bce609d364d40
Reviewed-on: https://code.wireshark.org/review/35162
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2019-11-20 16:02:32 +01:00 committed by Anders Broman
parent 8e8d19be1a
commit 986fec7f3b
1 changed files with 0 additions and 1 deletions

View File

@ -1721,7 +1721,6 @@ get_field_data(GSList *src_list, field_info *fi)
return tvb_get_ptr(src_tvb, fi->start, length);
}
}
g_assert_not_reached();
return NULL; /* not found */
}