Wireshark-bugs: [Wireshark-bugs] [Bug 6776] New: unused variable in rtp_analysis.c

Date: Sat, 28 Jan 2012 04:05:55 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6776

           Summary: unused variable in rtp_analysis.c
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxx


Created attachment 7738
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7738
rtp_analysis.c, fix set-but-not-used warning

Build Information:
TShark 1.7.1 (SVN Rev 40745 from /trunk)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
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 (32-bit) with GLib 2.28.8, with libpcap, with libz 1.2.5, with POSIX
capabilities (Linux), without SMI, without c-ares, without ADNS, without Lua,
without Python, with GnuTLS 2.10.5, with Gcrypt 1.4.6, with MIT Kerberos,
without GeoIP.

Running on Linux 2.6.41.9-1.fc15.i686.PAE, with locale en_US.UTF-8, with
libpcap
version 1.1.1, with libz 1.2.5.

Built using gcc 4.6.1 20110908 (Red Hat 4.6.1-9).

--
Dear all,

I tried a cmake build of the svn trunk on fedora core 15 without libportaudio.
It stopped in rtp_analysis.c, rtp_packet() because rtp_selected is set but not
used.

I'll attach a simple patch to fix this.

Best regards,

   Martin

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.