summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2005-05-20 12:55:38 +0000
committercharnier <charnier@FreeBSD.org>2005-05-20 12:55:38 +0000
commit2910b049132221474e039e240fa2c09e888a2972 (patch)
treeede38d8de61262292941d004714a1fd9a3ff4e1e /lib/libstand
parented1d8f918dccaf5c847dd44c6097b2ef0d8b9d33 (diff)
downloadFreeBSD-src-2910b049132221474e039e240fa2c09e888a2972.zip
FreeBSD-src-2910b049132221474e039e240fa2c09e888a2972.tar.gz
Remove unused variable. Shorten the path to WARNS=6 compliance.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/splitfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/splitfs.c b/lib/libstand/splitfs.c
index 9adcdec..af28704 100644
--- a/lib/libstand/splitfs.c
+++ b/lib/libstand/splitfs.c
@@ -192,7 +192,8 @@ splitfs_close(struct open_file *f)
static int
splitfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
{
- int i, nread, totread;
+ ssize_t nread;
+ size_t totread;
struct split_file *sf;
sf = (struct split_file *)f->f_fsdata;
OpenPOWER on IntegriCloud