2009-06-11 Pavel Roskin <proski@gnu.org>
* disk/usbms.c (grub_usbms_transfer): Initialize `err' to fix a compiler warning.
This commit is contained in:
parent
3a4575d4ea
commit
e3b27c39fc
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2009-06-11 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* disk/usbms.c (grub_usbms_transfer): Initialize `err' to fix
|
||||
a compiler warning.
|
||||
|
||||
* loader/i386/bsd.c (grub_freebsd_boot): Rename `entry' to
|
||||
`entry_lo' to fix variable shadowing.
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ grub_usbms_transfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
|
|||
grub_usbms_dev_t dev = (grub_usbms_dev_t) scsi->data;
|
||||
struct grub_usbms_csw status;
|
||||
static grub_uint32_t tag = 0;
|
||||
grub_usb_err_t err;
|
||||
grub_usb_err_t err = GRUB_USB_ERR_NONE;
|
||||
int retrycnt = 3;
|
||||
|
||||
retry:
|
||||
|
|
Loading…
Reference in a new issue