After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788299 - daemon: Remove unnecessary check for function that can't return NULL
daemon: Remove unnecessary check for function that can't return NULL
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-28 17:56 UTC by Robert Ancell
Modified: 2017-09-28 17:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
daemon: Remove unnecessary check for function that can't return NULL (904 bytes, patch)
2017-09-28 17:57 UTC, Robert Ancell
none Details | Review

Description Robert Ancell 2017-09-28 17:56:57 UTC
This code branch is dead unless an out of memory error occurs.
It's not checked for elsewhere the settings are created (or for other objects).
Comment 1 Robert Ancell 2017-09-28 17:57:07 UTC
Created attachment 360622 [details] [review]
daemon: Remove unnecessary check for function that can't return NULL