Wireshark-bugs: [Wireshark-bugs] [Bug 12956] New: checkAPIs.pl sees shadow variable where there

Date: Tue, 27 Sep 2016 12:59:15 +0000
Bug ID 12956
Summary checkAPIs.pl sees shadow variable where there is none
Product Wireshark
Version Git
Hardware x86
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component Build process
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 2.3.0 (v2.3.0rc0-841-ga56f50c from master)

Copyright 1998-2016 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.6.1, with libpcap, without POSIX capabilities,
without libnl, with GLib 2.48.1, with zlib 1.2.8, with SMI 0.4.8, with c-ares
1.10.0, with Lua 5.1.5, with GnuTLS 3.4.10, with Gcrypt 1.6.5, without
Kerberos,
without GeoIP, with QtMultimedia, without AirPcap.

Running on Linux 4.4.0-21-generic, with       Intel(R) Core(TM) i7-3615QE CPU @
2.30GHz (with SSE4.2), with 7893 MB of physical memory, with locale
de_DE.UTF-8,
with libpcap version 1.7.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with zlib
1.2.8.

Built using gcc 5.4.0 20160609.

Wireshark is Open Source Software released under the GNU General Public
License.
--
If I commit any change on capture_interfaces_dialog.h, checkAPIs.pl complains
that there is a shadow variable in the file. Specifically it complains about
the definition for 

  void setTab(int index);

as such, that index is the shadow variable. Code works fine (obviously) and
removing index from the declaration works fine as well, but this seems to be a
bug in the checker.


You are receiving this mail because:
  • You are watching all bug changes.