]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: (zfs) let's keep compiler happy
authorKarel Zak <kzak@redhat.com>
Fri, 30 May 2014 09:27:41 +0000 (11:27 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 30 May 2014 09:27:41 +0000 (11:27 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/zfs.c

index 406ba2be8cc2dab6b9a0d646eba4c265b1cbb7d9..6ffa24d69f90dd6e97af5ba3b5dfb18ed29e9d4a 100644 (file)
@@ -168,7 +168,7 @@ static int probe_zfs(blkid_probe pr,
        uint64_t swab_magic = swab64(UBERBLOCK_MAGIC);
        struct zfs_uberblock *ub;
        int swab_endian;
-       loff_t offset, ub_offset;
+       loff_t offset, ub_offset = 0;
        int tried;
        int found;