Remove unused variable initialization.
Change-Id: I674afef24938f3b860171d87640a6228ee042e82 Reviewed-on: https://code.wireshark.org/review/19862 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
bde544196e
commit
07c1832e85
|
@ -408,7 +408,7 @@ get_data_source_tvb(const struct data_source *src)
|
|||
tvbuff_t *
|
||||
get_data_source_tvb_by_name(packet_info *pinfo, const char *name)
|
||||
{
|
||||
GSList *source = pinfo->data_src;
|
||||
GSList *source;
|
||||
for (source = pinfo->data_src; source; source = source->next) {
|
||||
struct data_source *this_source = (struct data_source *)source;
|
||||
if (this_source->name && strcmp(this_source->name, name) == 0) {
|
||||
|
|
Loading…
Reference in New Issue