[gstreamer-bugs] [Bug 342820] New: gstnetclientclock.c(453): servaddr used before set

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 24 09:37:26 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=342820
 GStreamer | gstreamer (core) | Ver: 0.10.x

           Summary: gstnetclientclock.c(453): servaddr used before set
           Product: GStreamer
           Version: 0.10.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sbrabec at suse.cz
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


We got a following bug report from David Binderman:

I just tried to compile package gstreamer010-0.10.4-11 with the Intel C
compiler.

It said

gstnetclientclock.c(453): warning #592: variable "servaddr" is used before its
value is set

The source code is

  GST_DEBUG_OBJECT (self, "socket opened on UDP port %hd",
      ntohs (servaddr.sin_port));

I agree with the compiler. Suggest initialise local variable "servaddr" 
before first use.

I do not see exact solution, but it can be:
- servaddr instead of self->servaddr
- bad order of commands


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list