Project

General

Profile

Actions

Bug #9648

closed

policykit: unused functions

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2018-07-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Apparently with updated libdbus (in openindiana) our policykit is spewing errors in debug build. Silence them till better solution is found.

/usr/include/dbus-1.0/dbus/dbus-address.h:75: error: 'dbus_clear_address_entries
' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-message.h:367: error: 'dbus_clear_message' defin
ed but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-connection.h:465: error: 'dbus_clear_connection'
 defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-pending-call.h:88: error: 'dbus_clear_pending_ca
ll' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-server.h:116: error: 'dbus_clear_server' defined
 but not used [-Wunused-function]
dmake: Warning: Command failed for target `pics/libpolkit-rbac.o'
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `policykit'
dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `lib'
/usr/include/dbus-1.0/dbus/dbus-address.h:75: error: 'dbus_clear_address_entries
' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-message.h:367: error: 'dbus_clear_message' defin
ed but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-connection.h:465: error: 'dbus_clear_connection'
 defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-pending-call.h:88: error: 'dbus_clear_pending_ca
ll' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-server.h:116: error: 'dbus_clear_server' defined
 but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-address.h:75: error: 'dbus_clear_address_entries
' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-message.h:367: error: 'dbus_clear_message' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-connection.h:465: error: 'dbus_clear_connection' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-pending-call.h:88: error: 'dbus_clear_pending_call' defined but not used [-Wunused-function]
/usr/include/dbus-1.0/dbus/dbus-server.h:116: error: 'dbus_clear_server' defined but not used [-Wunused-function]
dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `policykit'
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors
Actions #1

Updated by Electric Monk about 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 6920cc4db7ff7cfb581fbacad920de3d9a681303

commit  6920cc4db7ff7cfb581fbacad920de3d9a681303
Author: Toomas Soome <tsoome@me.com>
Date:   2018-07-15T23:35:24.000Z

    9648 policykit: unused functions
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Michal Nowak <mnowak@startmail.com>
    Reviewed by: Ken Mays <kmays2000@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF