trivial: remove two unused variables which break the build when using strict warnings

This commit is contained in:
Richard Hughes 2010-02-09 10:44:37 +00:00
parent 821ecf9125
commit fd94c5d485

View file

@ -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);