[gstreamer-bugs] [Bug 596313] New: gstv4lelement.c:168: error: ‘client’ may be used uninitialized in this function

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 25 07:13:04 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=596313
  GStreamer | gst-plugins-base | git

           Summary: gstv4lelement.c:168: error: ‘client’ may be used
                    uninitialized in this function
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: kuh3h3 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


cc1: warnings being treated as errors
gstv4lelement.c: In function ‘gst_v4l_class_probe_devices_with_udev’:
gstv4lelement.c:168: error: ‘client’ may be used uninitialized in this function
make[3]: *** [libgstvideo4linux_la-gstv4lelement.lo] 오류 1
make[2]: *** [all-recursive] 오류 1
make[1]: *** [all-recursive] 오류 1
make: *** [all] 오류 2
*** Error during phase build of gst-plugins-base: ########## Error running make
  *** [61/233]

maybe 

 client = g_udev_client_new (NULL);
    if (!client) {
      GST_WARNING ("Failed to initialize gudev client");
      goto finish;
    }

finish:
  if (client) {
    g_object_unref (client);
  }

in goto finish
client may be used uninitialized?

-- 
Configure bugmail: https://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