x11 generator: Fix struct size with array

my $count here shadows my $count in the outer scope, preventing the size
of constant sized arrays from being calculated correctly.

Change-Id: I89c989ee2d288d4828871ebab650807fbde747dd
Reviewed-on: https://code.wireshark.org/review/11106
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
Peter Harris 2015-10-16 20:43:51 -04:00 committed by Jeff Morriss
parent 31b627fc82
commit 0f2eb385f0
1 changed files with 0 additions and 1 deletions

View File

@ -971,7 +971,6 @@ sub struct {
when ('list') {
my $type = $e->att('type');
my $info = getinfo($type);
my $count;
$needi = 1 if ($info->{'size'} == 0);