From 39c6d3d8e583e45d2b646b75e479a5e97f749156 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 10 Oct 2014 18:54:04 +0200 Subject: 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 --- src/tools/sss_cache.c | 2 -- 1 file changed, 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); -- cgit