From 69446016c5b06e67e6a52ca5bc05e3735f6ff5e9 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 19 Jan 2012 08:07:35 -0500 Subject: SYSDB: Redundant check is redundant. Coverity 12480 --- src/db/sysdb.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/db/sysdb.c') diff --git a/src/db/sysdb.c b/src/db/sysdb.c index f36eadeab..d872bc927 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -1360,11 +1360,6 @@ errno_t sysdb_get_bool(struct sysdb_ctx *sysdb, goto done; } - if (lret != LDB_SUCCESS) { - ret = sysdb_error_to_errno(lret); - goto done; - } - if (res->count == 0) { /* This entry has not been populated in LDB * This is a common case, as unlike LDAP, -- cgit