summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_sudo.c
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-11-09 15:13:26 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-16 17:54:46 +0100
commit2faa9ecad5a45a949be5ea95aa9e140eeba0fe68 (patch)
treeb6a65da8de6af34bb430bd12427e1ed9d4f46cb0 /src/providers/ldap/sdap_sudo.c
parentf70dc1039451863bebb1a3af5d6eb027f40de8e7 (diff)
downloadsssd-2faa9ecad5a45a949be5ea95aa9e140eeba0fe68.tar.gz
sssd-2faa9ecad5a45a949be5ea95aa9e140eeba0fe68.tar.bz2
sssd-2faa9ecad5a45a949be5ea95aa9e140eeba0fe68.zip
fix -O3 variable may be uninitialized warnings
Diffstat (limited to 'src/providers/ldap/sdap_sudo.c')
-rw-r--r--src/providers/ldap/sdap_sudo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index 636eae41..acdc9a91 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -1009,8 +1009,8 @@ static void sdap_sudo_periodical_full_refresh_done(struct tevent_req *req)
struct tevent_req *subreq = NULL; /* req from sdap_sudo_full_refresh_send() */
struct sdap_sudo_ctx *sudo_ctx = NULL;
time_t delay;
- int dp_error;
- int error;
+ int dp_error = DP_ERR_FATAL;
+ int error = EFAULT;
int ret;
ret = sdap_sudo_timer_recv(req, req, &subreq);