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 730558 - Unused function when compiled without CK support
Unused function when compiled without CK support
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-22 09:02 UTC by Laurent Bigonville
Modified: 2014-05-22 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not build register_ck_session() function if CK is disabled (1.32 KB, patch)
2014-05-22 09:07 UTC, Laurent Bigonville
committed Details | Review

Description Laurent Bigonville 2014-05-22 09:02:07 UTC
Hello,

When compiling without ConsoleKit support, I'm getting the following warning:

gdm-session-worker.c:1574:1: warning: 'register_ck_session' defined but not used [-Wunused-function]
 register_ck_session (GdmSessionWorker *worker)
 ^
Comment 1 Laurent Bigonville 2014-05-22 09:07:34 UTC
Created attachment 276971 [details] [review]
Do not build register_ck_session() function if CK is disabled
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-05-22 11:18:05 UTC
Review of attachment 276971 [details] [review]:

OK.
Comment 3 Laurent Bigonville 2014-05-22 14:59:37 UTC
Comment on attachment 276971 [details] [review]
Do not build register_ck_session() function if CK is disabled

Committed to master