* grub-core/commands/usbtest.c (usb_print_str): Silence spurious
warning.
This commit is contained in:
parent
756773df7c
commit
491c57a815
4 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-04-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/usbtest.c (usb_print_str): Silence spurious
|
||||
warning.
|
||||
|
||||
2012-04-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/lib/adler32.c: Recode due to license unclearness.
|
||||
|
|
|
@ -111,7 +111,7 @@ grub_usb_get_string (grub_usb_device_t dev, grub_uint8_t index, int langid,
|
|||
static void
|
||||
usb_print_str (const char *description, grub_usb_device_t dev, int idx)
|
||||
{
|
||||
char *name;
|
||||
char *name = NULL;
|
||||
grub_usb_err_t err;
|
||||
/* XXX: LANGID */
|
||||
|
||||
|
|
|
@ -613,7 +613,7 @@ hop_level (grub_disk_t disk,
|
|||
struct grub_bfs_inode *ino, const char *name)
|
||||
{
|
||||
grub_err_t err;
|
||||
grub_uint64_t res;
|
||||
grub_uint64_t res = 0;
|
||||
|
||||
if (((grub_bfs_to_cpu32 (ino->mode) & ATTR_TYPE) != ATTR_DIR))
|
||||
return grub_error (GRUB_ERR_BAD_FILE_TYPE, N_("not a directory"));
|
||||
|
|
|
@ -469,7 +469,7 @@ grub_cmd_bootp (struct grub_command *cmd __attribute__ ((unused)),
|
|||
{
|
||||
struct grub_net_bootp_packet *pack;
|
||||
struct grub_datetime date;
|
||||
grub_int32_t t;
|
||||
grub_int32_t t = 0;
|
||||
struct grub_net_buff *nb;
|
||||
struct udphdr *udph;
|
||||
grub_net_network_level_address_t target;
|
||||
|
|
Loading…
Reference in a new issue