mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Pacify compiler warning
* grub-core/osdep/linux/hostdisk.c (grub_util_find_partition_start_os): Initialise start to avoid spurious compiler warning.
This commit is contained in:
1 parent
0480665b9d
commit
59b38922a1
2 files changed
+7
-1
No files matched your search
@@ -181,7 +181,7 @@ out:
|
||||
grub_disk_addr_t
|
||||
grub_util_find_partition_start_os (const char *dev)
|
||||
{
|
||||
grub_disk_addr_t start;
|
||||
grub_disk_addr_t start = 0;
|
||||
grub_util_fd_t fd;
|
||||
struct hd_geometry hdg;
|
||||
|
||||
|
||||
Reference in new issue
Block a user