diff options
author | Peter Harris <pharris@opentext.com> | 2015-10-16 20:43:51 -0400 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2015-10-19 14:52:01 +0000 |
commit | 0f2eb385f0b920cb4117189b9d13e88ae22787eb (patch) | |
tree | abc9e009fcc594321e548eae1d7be2f1159ebd81 /tools/process-x11-xcb.pl | |
parent | 31b627fc82b2935feffb96ea7d6360cfa37b8acf (diff) | |
download | wireshark-0f2eb385f0b920cb4117189b9d13e88ae22787eb.tar.gz |
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>
Diffstat (limited to 'tools/process-x11-xcb.pl')
-rwxr-xr-x | tools/process-x11-xcb.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/process-x11-xcb.pl b/tools/process-x11-xcb.pl index c4e8c06fb7..07c8e4bd2b 100755 --- a/tools/process-x11-xcb.pl +++ b/tools/process-x11-xcb.pl @@ -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); |