From 3d604b43675fd893658eb1db85b8f313f5064b5d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 1 Mar 2011 15:31:49 +0100 Subject: libblkid: fix gcc warnings Signed-off-by: Karel Zak --- shlibs/blkid/src/partitions/gpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shlibs/blkid/src/partitions') 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; -- cgit v1.2.3-55-g7522