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:
parent
31b627fc82
commit
0f2eb385f0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue