diff options
author | Ruediger Meier | 2016-02-23 00:26:46 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-23 03:18:24 +0100 |
commit | 71177ab8f9460c9aafec89a3870bb5a46fc8b50b (patch) | |
tree | e28d0205693bd9d7f6a55fe7a0c58dc8e665a0c9 /libblkid/src/superblocks/zfs.c | |
parent | libfdisk: fix warnings, "redundant redeclaration" [-Wredundant-decls] (diff) | |
download | kernel-qcow2-util-linux-71177ab8f9460c9aafec89a3870bb5a46fc8b50b.tar.gz kernel-qcow2-util-linux-71177ab8f9460c9aafec89a3870bb5a46fc8b50b.tar.xz kernel-qcow2-util-linux-71177ab8f9460c9aafec89a3870bb5a46fc8b50b.zip |
misc: fix warnings "unused parameter" [-Wunused-parameter]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libblkid/src/superblocks/zfs.c')
-rw-r--r-- | libblkid/src/superblocks/zfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c index c505a7204..f44fe528f 100644 --- a/libblkid/src/superblocks/zfs.c +++ b/libblkid/src/superblocks/zfs.c @@ -199,7 +199,8 @@ static int find_uberblocks(const void *label, loff_t *ub_offset, int *swap_endia /* ZFS has 128x1kB host-endian root blocks, stored in 2 areas at the start * of the disk, and 2 areas at the end of the disk. Check only some of them... * #4 (@ 132kB) is the first one written on a new filesystem. */ -static int probe_zfs(blkid_probe pr, const struct blkid_idmag *mag) +static int probe_zfs(blkid_probe pr, + const struct blkid_idmag *mag __attribute__((__unused__))) { int swab_endian = 0; struct zfs_uberblock *ub; |