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:
Stig Bjørlykke 2017-01-30 11:07:36 +01:00
parent bde544196e
commit 07c1832e85
1 changed files with 1 additions and 1 deletions

View File

@ -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) {