Eliminate dead store.

Found by:	Clang static analyzer
MFC after:	7 days
This commit is contained in:
Garrett Wollman 2009-11-25 04:21:42 +00:00
parent c3582a1967
commit e40c32385d

View File

@ -60,7 +60,7 @@ __sfvwrite(fp, uio)
char *nl;
int nlknown, nldist;
if ((len = uio->uio_resid) == 0)
if (uio->uio_resid == 0)
return (0);
/* make sure we can write */
if (prepwrite(fp) != 0)