summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-01-19 08:07:35 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-01-21 12:47:57 -0500
commit69446016c5b06e67e6a52ca5bc05e3735f6ff5e9 (patch)
tree981060a696588c12eb3f343abf74ce505fcc0f32 /src
parentdfea410202f366924f32662a91331660f1c143bb (diff)
downloadsssd-69446016c5b06e67e6a52ca5bc05e3735f6ff5e9.tar.gz
sssd-69446016c5b06e67e6a52ca5bc05e3735f6ff5e9.tar.bz2
sssd-69446016c5b06e67e6a52ca5bc05e3735f6ff5e9.zip
SYSDB: Redundant check is redundant.
Coverity 12480
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index f36eadea..d872bc92 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,