mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 19:18:11 +02:00
trivial: remove two unused variables which break the build when using strict warnings
This commit is contained in:
parent
821ecf9125
commit
fd94c5d485
1 changed files with 0 additions and 2 deletions
|
|
@ -665,7 +665,6 @@ gboolean
|
|||
up_daemon_suspend_allowed (UpDaemon *daemon, DBusGMethodInvocation *context)
|
||||
{
|
||||
gboolean ret;
|
||||
GError *error;
|
||||
PolkitSubject *subject = NULL;
|
||||
|
||||
subject = up_polkit_get_subject (daemon->priv->polkit, context);
|
||||
|
|
@ -748,7 +747,6 @@ gboolean
|
|||
up_daemon_hibernate_allowed (UpDaemon *daemon, DBusGMethodInvocation *context)
|
||||
{
|
||||
gboolean ret;
|
||||
GError *error;
|
||||
PolkitSubject *subject = NULL;
|
||||
|
||||
subject = up_polkit_get_subject (daemon->priv->polkit, context);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue