projects
/
platform
/
upstream
/
polkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920c40e
)
Fix (correct) GCC warning about possibly-uninitialized variable
author
Colin Walters
<walters@verbum.org>
Fri, 10 Sep 2010 18:45:09 +0000
(14:45 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Fri, 10 Sep 2010 18:53:38 +0000
(14:53 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/polkitagent/polkitagenthelperprivate.c
patch
|
blob
|
history
diff --git
a/src/polkitagent/polkitagenthelperprivate.c
b/src/polkitagent/polkitagenthelperprivate.c
index
d4495dd
..
8f0c878
100644
(file)
--- 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;