[systemd-bugs] [Bug 78850] New: gudev: Add missing (nullable) annotations on return values

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 18 00:26:47 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78850

          Priority: medium
            Bug ID: 78850
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: gudev: Add missing (nullable) annotations on return
                    values
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: minor
    Classification: Unclassified
                OS: All
          Reporter: evan at coeus-group.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Created attachment 99266
  --> https://bugs.freedesktop.org/attachment.cgi?id=99266&action=edit
gudev: add missing (nullable) annotations on return values

GObject Introspection has recently added support for annotating return values
as nullable (see https://bugzilla.gnome.org/show_bug.cgi?id=660879), and gudev
includes many functions which can return NULL.

Right now this is only in git, but adding (nullable) annotations now should
only cause some harmless warning messages from older g-ir-scanner and gtk-doc
like "warning: unknown annotation "nullable" in documentation for g_udev_...",
so I believe this is safe add the annotations immediately.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140518/1c36f478/attachment.html>


More information about the systemd-bugs mailing list