summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-10 14:45:09 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-09-10 14:53:38 -0400
commitdb885633478c902c0be9dc832a4193c04d5a5e68 (patch)
tree555a21c11c2304be28d9ff48de04214e69ba29ad
parent920c40ef079fd2907f6c08d965d6d87eaf58f52a (diff)
Fix (correct) GCC warning about possibly-uninitialized variable
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/polkitagent/polkitagenthelperprivate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polkitagent/polkitagenthelperprivate.c b/src/polkitagent/polkitagenthelperprivate.c
index d4495dd..8f0c878 100644
--- a/src/polkitagent/polkitagenthelperprivate.c
+++ b/src/polkitagent/polkitagenthelperprivate.c
@@ -48,8 +48,8 @@ _polkit_clearenv (void)
gboolean
send_dbus_message (const char *cookie, const char *user)
{
- PolkitAuthority *authority;
- PolkitIdentity *identity;
+ PolkitAuthority *authority = NULL;
+ PolkitIdentity *identity = NULL;
GError *error;
gboolean ret;