[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sssd-devel
Subject:    [PATCH] Variable in sdap_sudo_rules_refresh_send could be used uninitialised.
From:       mzidek () redhat ! com (Michal Zidek)
Date:       2012-09-26 17:03:08
Message-ID: mailman.311.1348680031.1584.sssd-devel () lists ! fedorahosted ! org
[Download RAW message or body]

---
 src/providers/ldap/sdap_sudo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index bfab32a..dd751ba 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -657,7 +657,7 @@ static struct tevent_req *sdap_sudo_rules_refresh_send(TALLOC_CTX *mem_ctx,
     char *ldap_full_filter = NULL;
     char *sysdb_filter = NULL;
     char *safe_rule = NULL;
-    int ret;
+    int ret = EOK;
     int i;
 
     if (rules == NULL) {
-- 
1.7.11.2


--------------060808080408020100090508--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic