commit 3330e5bf7bb3477d810ac4e2dbe66d0c8b3861aa from: rsc date: Sat Oct 29 17:41:35 2005 UTC compiler warnings commit - 4f093cda6bcaec860ffd508c6e4f0db435901dfc commit + 3330e5bf7bb3477d810ac4e2dbe66d0c8b3861aa blob - 17039c0f396aeeb885f98c745e5dc884d3bcca9e blob + b6b9773dcdb991149bc97ec50529c2073409b418 --- src/libdiskfs/ext2.c +++ 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 si 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, Ino static Nfs3Status ext2root(Fsys *fsys, Nfs3Handle *h) { + USED(fsys); mkhandle(h, ROOTINODE); return Nfs3Ok; }