! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] static unction check_for_consolekit2 may be unused
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Matt32 2015-03-07 23:18:05 CET
Created attachment 6049 
check_for_consolekit2 patch

static function check_for_consolekit2 is not used if !UP_CHECK_VERSION(0, 99, 0)

xfpm-power.c:178:1: error: ‘check_for_consolekit2’ defined but not used [-Werror=unused-function]
Comment 1 Eric Koegel editbugs 2015-03-22 11:13:32 CET
Thanks for the patch, pushed to the 4.12 branch:
commit 883782b8014564e367ae83ff8718b22e40193f5b
Author: Matt Thirtytwo <matt.59491@gmail.com>
Date:   Sat Mar 7 23:13:05 2015 +0100

    function check_for_consolekit2 is not used if !UP_CHECK_VERSION(0, 99, 0)
    
    Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
http://git.xfce.org/xfce/xfce4-power-manager/commit/?h=xfce-4.12&id=883782b8014564e367ae83ff8718b22e40193f5b

Bug #11657

Reported by:
Matt32
Reported on: 2015-03-07
Last modified on: 2015-03-22

People

Assignee:
Ali Abdallah
CC List:
4 users

Version

Attachments

check_for_consolekit2 patch (918 bytes, patch)
2015-03-07 23:18 CET , Matt32
no flags

Additional information