Fix various compiler warnings that were introduced since e2fsprogs v1.45.4, including the following types of warnings: -Wunused-variable (enabled by -Wall) -Wunused-label (enabled by -Wall) -Wunused-parameter Note, there were also -Wpointer-arith (arithmetic on a void pointer is a GNU extension) warnings introduced, but I don't find those to be very useful. But I can send out a patch for those too if people want it. Also fix a -Wincompatible-pointer-types warning in the Windows build. Eric Biggers (6): libext2fs: improve jbd_debug() implementation e2fsck: sync fc_do_one_pass() changes from kernel mke2fs: use ext2fs_get_device_size2() on all platforms Fix -Wunused-parameter warnings Fix -Wunused-variable warnings libext2fs: fix a -Wunused-label warning debugfs/journal.c | 7 ++----- e2fsck/extents.c | 2 +- e2fsck/jfs_user.h | 3 ++- e2fsck/journal.c | 18 +++++------------- e2fsck/pass1b.c | 3 ++- e2fsck/pass2.c | 3 ++- e2fsck/recovery.c | 5 ++--- e2fsck/rehash.c | 2 +- lib/e2p/errcode.c | 1 - lib/e2p/fgetflags.c | 2 +- lib/e2p/fsetflags.c | 1 - lib/ext2fs/kernel-jbd.h | 26 +++++--------------------- lib/ext2fs/mkjournal.c | 1 - lib/ext2fs/unix_io.c | 1 - lib/support/mkquota.c | 3 ++- misc/mke2fs.c | 8 ++------ 16 files changed, 27 insertions(+), 59 deletions(-) base-commit: 32fda1e5a338ff676ae7f7e3e2bc256e7a7e2855 -- 2.32.0.272.g935e593368-goog