diff options
author | Karel Zak | 2015-03-06 10:57:12 +0100 |
---|---|---|
committer | Karel Zak | 2015-03-06 10:57:12 +0100 |
commit | 0487bcb1a3db3906564780b37818ed9a93f425b0 (patch) | |
tree | 7bc39ae0a1e23e0077f74093e21ed397eff89296 /libblkid | |
parent | Merge branch 'zfs' of https://github.com/mihu/util-linux (diff) | |
download | kernel-qcow2-util-linux-0487bcb1a3db3906564780b37818ed9a93f425b0.tar.gz kernel-qcow2-util-linux-0487bcb1a3db3906564780b37818ed9a93f425b0.tar.xz kernel-qcow2-util-linux-0487bcb1a3db3906564780b37818ed9a93f425b0.zip |
libblkid: fix compiler warning [-Wunused-variable]
libblkid/src/superblocks/zfs.c: In function 'probe_zfs':
libblkid/src/superblocks/zfs.c:199:11: warning: unused variable 'swab_magic' [-Wunused-variable]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r-- | libblkid/src/superblocks/zfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c index 9b5601e0a..e9c10dcd6 100644 --- a/libblkid/src/superblocks/zfs.c +++ b/libblkid/src/superblocks/zfs.c @@ -196,7 +196,6 @@ static int find_uberblocks(const void *label, loff_t *ub_offset, int *swap_endia * #4 (@ 132kB) is the first one written on a new filesystem. */ static int probe_zfs(blkid_probe pr, const struct blkid_idmag *mag) { - uint64_t swab_magic = swab64(UBERBLOCK_MAGIC); int swab_endian = 0; struct zfs_uberblock *ub; loff_t offset, ub_offset = 0; |