summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2009-11-25 04:45:45 +0000
committerwollman <wollman@FreeBSD.org>2009-11-25 04:45:45 +0000
commita98dd21d5f02e42d66bdd19531580000647322e8 (patch)
tree01f0d0420123a2fbc4530d2d7bd607cbf6ee8049 /lib/libc/yp
parent0bb16760a11c0384ebde0564be95b7c5711ce69e (diff)
downloadFreeBSD-src-a98dd21d5f02e42d66bdd19531580000647322e8.zip
FreeBSD-src-a98dd21d5f02e42d66bdd19531580000647322e8.tar.gz
Eliminate more dead stores.
Found by: Clang static analyzer MFC after: 7 days
Diffstat (limited to 'lib/libc/yp')
-rw-r--r--lib/libc/yp/yplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/yp/yplib.c b/lib/libc/yp/yplib.c
index eb5c34c..87d16dd 100644
--- a/lib/libc/yp/yplib.c
+++ b/lib/libc/yp/yplib.c
@@ -241,7 +241,7 @@ static bool_t
ypmatch_cache_lookup(struct dom_binding *ypdb, char *map, keydat *key,
valdat *val)
{
- struct ypmatch_ent *c = ypdb->cache;
+ struct ypmatch_ent *c;
ypmatch_cache_expire(ypdb);
OpenPOWER on IntegriCloud