summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/partitions
diff options
context:
space:
mode:
authorKarel Zak2011-03-01 15:31:49 +0100
committerKarel Zak2011-03-01 15:31:49 +0100
commit3d604b43675fd893658eb1db85b8f313f5064b5d (patch)
tree84b2fcc227fb4458155ebd52b570c5fab0a5a4ac /shlibs/blkid/src/partitions
parentlibblkid: fix EFI GPT uuid byte order (diff)
downloadkernel-qcow2-util-linux-3d604b43675fd893658eb1db85b8f313f5064b5d.tar.gz
kernel-qcow2-util-linux-3d604b43675fd893658eb1db85b8f313f5064b5d.tar.xz
kernel-qcow2-util-linux-3d604b43675fd893658eb1db85b8f313f5064b5d.zip
libblkid: fix gcc warnings
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/partitions')
-rw-r--r--shlibs/blkid/src/partitions/gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/blkid/src/partitions/gpt.c b/shlibs/blkid/src/partitions/gpt.c
index 7df17bb1e..9281a8943 100644
--- a/shlibs/blkid/src/partitions/gpt.c
+++ b/shlibs/blkid/src/partitions/gpt.c
@@ -289,7 +289,7 @@ static struct gpt_header *get_gpt_header(
static int probe_gpt_pt(blkid_probe pr, const struct blkid_idmag *mag)
{
- uint64_t lastlba, lba;
+ uint64_t lastlba = 0, lba;
struct gpt_header hdr, *h;
struct gpt_entry *e;
blkid_parttable tab = NULL;