Browse Source

Make gcc happy

Signed-off-by: Graham MacDonald <grahamamacdonald@gmail.com>
Graham MacDonald 6 years ago
parent
commit
7d45f05ffc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sys/src/9/ufs/ffs_vnops.c

+ 2 - 2
sys/src/9/ufs/ffs_vnops.c

@@ -391,7 +391,7 @@ ffs_read(vnode *vp, Uio *uio)
 	inode *ip;
 	Fs *fs;
 	Buf *bp;
-	ufs_lbn_t lbn, nextlbn;
+	ufs_lbn_t lbn;//, nextlbn;
 	off_t bytesinfile;
 	long size, xfersize, blkoffset;
 	int64_t orig_resid;
@@ -443,7 +443,7 @@ ffs_read(vnode *vp, Uio *uio)
 			break;
 
 		lbn = lblkno(fs, uio->offset);
-		nextlbn = lbn + 1;
+		//nextlbn = lbn + 1;
 
 		/*
 		 * size of buffer.  The buffer representing the