URL: https://github.com/SSSD/sssd/pull/105 Author: lslebodn Title: #105: RESPONDER: Remove dead assignment to the variable ret Action: opened
PR body: """ """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/105/head:pr105 git checkout pr105
From 1d530b64c588845e5d19b2c417b3a577775bfa0c Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik <lsleb...@redhat.com> Date: Sat, 26 Nov 2016 17:17:00 +0100 Subject: [PATCH] RESPONDER: Remove dead assignment to the variable ret --- src/responder/common/responder_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index 6fbc074..c939ea2 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -882,7 +882,6 @@ static errno_t responder_init_ncache(TALLOC_CTX *mem_ctx, } neg_timeout = tmp_value; - ret = EOK; /* local_timeout */ ret = confdb_get_int(cdb, CONFDB_NSS_CONF_ENTRY, @@ -901,7 +900,6 @@ static errno_t responder_init_ncache(TALLOC_CTX *mem_ctx, } locals_timeout = tmp_value; - ret = EOK; /* negative cache init */ ret = sss_ncache_init(mem_ctx, neg_timeout, locals_timeout, ncache);
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org