git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b627f
)
x11 generator: Fix struct size with array
author
Peter Harris
<pharris@opentext.com>
Sat, 17 Oct 2015 00:43:51 +0000
(20:43 -0400)
committer
Jeff Morriss
<jeff.morriss.ws@gmail.com>
Mon, 19 Oct 2015 14:52:01 +0000
(14:52 +0000)
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>
tools/process-x11-xcb.pl
patch
|
blob
|
history
diff --git
a/tools/process-x11-xcb.pl
b/tools/process-x11-xcb.pl
index c4e8c06fb7c364cc2a813075894e99fb1d08dee8..07c8e4bd2b460ec130c6c104775be2f9366e2c80 100755
(executable)
--- 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);