diff options
author | Alan Somers <asomers@FreeBSD.org> | 2017-04-05 16:13:36 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2017-04-05 16:13:36 +0000 |
commit | 6504428e9c69a1398c1b1c1dfe6ebc1732dae62f (patch) | |
tree | 75fa6d31327de0e8f9a95306c7ac04a075cfdf2a /usr.bin/pr | |
parent | 6e3e654490c36939c6fbcebfa2c8512fe8120d5f (diff) | |
download | src-test-6504428e9c69a1398c1b1c1dfe6ebc1732dae62f.tar.gz src-test-6504428e9c69a1398c1b1c1dfe6ebc1732dae62f.zip |
Remove a duplicate fclose() that snuck into r316501
Reported by: Coverity
CID: 1373338
MFC after: 20 days
X-MFC-With: 316501
Sponsored by: Spectra Logic Corp
Notes
Notes:
svn path=/head/; revision=316523
Diffstat (limited to 'usr.bin/pr')
-rw-r--r-- | usr.bin/pr/pr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c index 0738b55e783bd..0493aec0d0b71 100644 --- a/usr.bin/pr/pr.c +++ b/usr.bin/pr/pr.c @@ -1386,7 +1386,6 @@ nxtfile(int argc, char **argv, const char **fname, char *buf, int dt) (void)fprintf(err, "pr: cannot stat %s, %s\n", argv[eoptind], strerror(errno)); - fclose(inf); return(NULL); } timeptr = localtime(&(statbuf.st_mtime)); |