531551
From eda050c1fc9f65fc138c9fabf35ef7865c5b10a7 Mon Sep 17 00:00:00 2001
531551
From: Karel Zak <kzak@redhat.com>
531551
Date: Fri, 30 May 2014 11:27:41 +0200
531551
Subject: [PATCH 107/116] libblkid: (zfs) let's keep compiler happy
531551
531551
Upstream: http://github.com/karelzak/util-linux/commit/59cbbd71cdfb6a6fc6901e287b300aa8d45d6606
531551
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1392661
531551
Signed-off-by: Karel Zak <kzak@redhat.com>
531551
---
531551
 libblkid/src/superblocks/zfs.c | 2 +-
531551
 1 file changed, 1 insertion(+), 1 deletion(-)
531551
531551
diff --git a/libblkid/src/superblocks/zfs.c b/libblkid/src/superblocks/zfs.c
531551
index 56ee472..86da59d 100644
531551
--- a/libblkid/src/superblocks/zfs.c
531551
+++ b/libblkid/src/superblocks/zfs.c
531551
@@ -171,7 +171,7 @@ static int probe_zfs(blkid_probe pr,
531551
 	uint64_t swab_magic = swab64(UBERBLOCK_MAGIC);
531551
 	struct zfs_uberblock *ub;
531551
 	int swab_endian;
531551
-	loff_t offset, ub_offset;
531551
+	loff_t offset, ub_offset = 0;
531551
 	int tried;
531551
 	int found;
531551
 
531551
-- 
531551
2.9.3
531551