diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-10-10 18:54:04 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-12 17:25:27 +0200 |
commit | 39c6d3d8e583e45d2b646b75e479a5e97f749156 (patch) | |
tree | cb1115a451b4749c251186882c958a55482cad59 | |
parent | 428db8a58c0c149d5efccc6d788f70916c1d34d7 (diff) | |
download | sssd-39c6d3d8e583e45d2b646b75e479a5e97f749156.tar.gz sssd-39c6d3d8e583e45d2b646b75e479a5e97f749156.tar.xz sssd-39c6d3d8e583e45d2b646b75e479a5e97f749156.zip |
TOOLS: Fix warning Value stored to is never read
dinfo->sysdb was stored to variable sysdb two times. The first time on line
132 and second time after testing for subdomain on line 143.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r-- | src/tools/sss_cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c index 656f71fb4..e6faf2d74 100644 --- a/src/tools/sss_cache.c +++ b/src/tools/sss_cache.c @@ -129,8 +129,6 @@ int main(int argc, const char *argv[]) } for (dinfo = tctx->domains; dinfo; dinfo = get_next_domain(dinfo, true)) { - sysdb = dinfo->sysdb; - if (!IS_SUBDOMAIN(dinfo)) { /* Update list of subdomains for this domain */ ret = sysdb_update_subdomains(dinfo); |