Eliminate dead store.
Found by: Clang static analyzer MFC after: 7 days
This commit is contained in:
parent
c3582a1967
commit
e40c32385d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user