Add missing initializers to silence suprious warnings.
This commit is contained in:
parent
d47e8ab4b9
commit
ed07b7e128
3 changed files with 6 additions and 6 deletions
|
@ -454,7 +454,7 @@ grub_verify_signature_real (char *buf, grub_size_t size,
|
|||
grub_err_t err;
|
||||
grub_size_t i;
|
||||
gcry_mpi_t mpis[10];
|
||||
grub_uint8_t type;
|
||||
grub_uint8_t type = 0;
|
||||
|
||||
err = read_packet_header (sig, &type, &len);
|
||||
if (err)
|
||||
|
|
|
@ -792,8 +792,8 @@ grub_hfsplus_iterate_dir (grub_fshelp_node_t dir,
|
|||
};
|
||||
|
||||
struct grub_hfsplus_key_internal intern;
|
||||
struct grub_hfsplus_btnode *node;
|
||||
grub_disk_addr_t ptr;
|
||||
struct grub_hfsplus_btnode *node = NULL;
|
||||
grub_disk_addr_t ptr = 0;
|
||||
|
||||
{
|
||||
struct grub_fshelp_node *fsnode;
|
||||
|
@ -976,8 +976,8 @@ grub_hfsplus_label (grub_device_t device, char **label)
|
|||
struct grub_hfsplus_catkey *catkey;
|
||||
int i, label_len;
|
||||
struct grub_hfsplus_key_internal intern;
|
||||
struct grub_hfsplus_btnode *node;
|
||||
grub_disk_addr_t ptr;
|
||||
struct grub_hfsplus_btnode *node = NULL;
|
||||
grub_disk_addr_t ptr = 0;
|
||||
|
||||
*label = 0;
|
||||
|
||||
|
|
|
@ -445,7 +445,7 @@ grub_cmdline_run (int nested, int force_auth)
|
|||
|
||||
while (1)
|
||||
{
|
||||
char *line;
|
||||
char *line = NULL;
|
||||
|
||||
if (grub_normal_exit_level)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue