warning.
+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.
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 */
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"));
{
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;