plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 3330e5bf7bb3477d810ac4e2dbe66d0c8b3861aa
parent 4f093cda6bcaec860ffd508c6e4f0db435901dfc
Author: rsc <devnull@localhost>
Date:   Sat, 29 Oct 2005 17:41:35 +0000

compiler warnings

Diffstat:
Msrc/libdiskfs/ext2.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/libdiskfs/ext2.c b/src/libdiskfs/ext2.c @@ -137,6 +137,7 @@ ext2blockread(Fsys *fsys, u64int vbno) static Block* ext2datablock(Ext2 *fs, u32int bno, int size) { + USED(size); return ext2blockread(fs->fsys, bno+fs->firstblock); } @@ -211,7 +212,7 @@ ext2fileblock(Ext2 *fs, Inode *ino, u32int bno, int size) return ext2datablock(fs, bno, size); } - fprint(2, "ext2fileblock %llud: too big\n", obno); + fprint(2, "ext2fileblock %ud: too big\n", obno); return nil; } @@ -325,6 +326,7 @@ handle2ino(Ext2 *fs, Nfs3Handle *h, u32int *pinum, Inode *ino) static Nfs3Status ext2root(Fsys *fsys, Nfs3Handle *h) { + USED(fsys); mkhandle(h, ROOTINODE); return Nfs3Ok; }