Wireshark-bugs: [Wireshark-bugs] [Bug 1929] New: Patch to rtp_player.c to resolve 'cc1: warnings

Date: Mon, 22 Oct 2007 14:33:13 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1929

           Summary: Patch to rtp_player.c to resolve 'cc1: warnings being
                    treated as errors' message
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Trivial
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jyoung@xxxxxxx


Build Information:
Version 0.99.7 (SVN Rev 23234)

Copyright 1998-2007 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 with GTK+ 2.8.3, with GLib 2.8.1, with libpcap 0.9.2, with libz 1.2.3,
without libpcre, without SMI, without ADNS, without Lua, with GnuTLS 1.2.5,
with
Gcrypt 1.2.1, without Kerberos, with PortAudio PortAudio V19-devel, without
AirPcap.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running on Linux 2.6.13-15.12-default, with libpcap version 0.9.2.

Built using gcc 4.0.2 20050901 (prerelease) (SUSE Linux).

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.

--
After recent update to SUSE system, rtp_player.c failed to compile...

cc1: warnings being treated as errors
rtp_player.c: In function ‘decode_rtp_stream’:
rtp_player.c:530: warning: ‘start_rtp_time’ may be used uninitialized in
this function
make[2]: *** [rtp_player.o] Error 1

Simple one line patch resolves compiler warning.

See attachment.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.