tcompiler warnings - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 3330e5bf7bb3477d810ac4e2dbe66d0c8b3861aa (DIR) parent 4f093cda6bcaec860ffd508c6e4f0db435901dfc (HTM) Author: rsc <devnull@localhost> Date: Sat, 29 Oct 2005 17:41:35 +0000 compiler warnings Diffstat: M src/libdiskfs/ext2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- (DIR) diff --git a/src/libdiskfs/ext2.c b/src/libdiskfs/ext2.c t@@ -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); } t@@ -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; } t@@ -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; }