diff options
author | Tim Prouty <tprouty@samba.org> | 2009-03-03 13:04:14 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-03-04 18:32:13 -0800 |
commit | cfb47573865610d2e02b08507f09b52c3b38d19e (patch) | |
tree | 41bc6888c5747f607c3194eed93e6f8dc0c75b7a /pidl/META.yml | |
parent | 04f5f739056b535c71f0991b388f7f4b14c0b75e (diff) | |
download | samba-cfb47573865610d2e02b08507f09b52c3b38d19e.tar.gz samba-cfb47573865610d2e02b08507f09b52c3b38d19e.tar.bz2 samba-cfb47573865610d2e02b08507f09b52c3b38d19e.zip |
pidl: Don't generate variables declarations for pointless array counters.
Code isn't generated to iterate over arrays of length 0, but the
variable declarations still are. The result is 'unused variable'
warnings. This only seems to be happening in one place right now, so I
targeted the fix to this case, but refactoring could be done to make
all variable declarations do this zero length check. Making it the
default would be a much more invasive fix.
Jelmer, please check!
Diffstat (limited to 'pidl/META.yml')
0 files changed, 0 insertions, 0 deletions