summaryrefslogtreecommitdiff
path: root/src/polkitagent
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-03-03 13:22:53 -0500
committerDavid Zeuthen <davidz@redhat.com>2011-03-03 13:22:53 -0500
commit302d2b6a0fa18168e42e2e62928485e610861633 (patch)
tree3fc80d3e39e4509d13b7b58743bc62bbc315f2ce /src/polkitagent
parent02cebdb060e76e6d176f05ef24968e6d17225edb (diff)
downloadpolkit-302d2b6a0fa18168e42e2e62928485e610861633.tar.gz
Fix a couple of warnings triggered by gcc 4.6
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src/polkitagent')
-rw-r--r--src/polkitagent/polkitagentsession.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/polkitagent/polkitagentsession.c b/src/polkitagent/polkitagentsession.c
index 52fb020..bb467be 100644
--- a/src/polkitagent/polkitagentsession.c
+++ b/src/polkitagent/polkitagentsession.c
@@ -572,13 +572,10 @@ polkit_agent_session_initiate (PolkitAgentSession *session)
uid_t uid;
GError *error;
gchar *helper_argv[4];
- gboolean ret;
struct passwd *passwd;
g_return_if_fail (POLKIT_AGENT_IS_SESSION (session));
- ret = FALSE;
-
if (G_UNLIKELY (_show_debug ()))
{
gchar *s;