From 62c35d66897c4b0ca88c530499b66cfbc13a6d7c Mon Sep 17 00:00:00 2001 From: Charles Longeau Date: Sun, 17 Jan 2010 20:23:59 +0000 Subject: Remove dead assignment and newly created unused variable. Found by LLVM/Clang Static Analyzer. ok tedu@ krw@ --- sys/msdosfs/msdosfs_lookup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/msdosfs/msdosfs_lookup.c') diff --git a/sys/msdosfs/msdosfs_lookup.c b/sys/msdosfs/msdosfs_lookup.c index c84e13de455..74a6a442653 100644 --- a/sys/msdosfs/msdosfs_lookup.c +++ b/sys/msdosfs/msdosfs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_lookup.c,v 1.22 2009/08/13 22:34:29 jasper Exp $ */ +/* $OpenBSD: msdosfs_lookup.c,v 1.23 2010/01/17 20:23:58 chl Exp $ */ /* $NetBSD: msdosfs_lookup.c,v 1.34 1997/10/18 22:12:27 ws Exp $ */ /*- @@ -885,9 +885,7 @@ readep(struct msdosfsmount *pmp, uint32_t dirclust, uint32_t diroffset, int error; daddr64_t bn; int blsize; - uint32_t boff; - boff = diroffset & ~pmp->pm_crbomask; blsize = pmp->pm_bpcluster; if (dirclust == MSDOSFSROOT && de_blk(pmp, diroffset + blsize) > pmp->pm_rootdirsize) -- cgit v1.2.3