* grub-core/disk/diskfilter.c (read_segment): Renome unreachable code.

* grub-core/net/ip.c (grub_net_recv_ip4_packets): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-09 23:43:43 +01:00
parent a67b2a046c
commit def9fc1bb2
3 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-02-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (read_segment): Renome unreachable code.
* grub-core/net/ip.c (grub_net_recv_ip4_packets): Likewise.
2012-02-09 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gnulib/regex.h (re_pattern_buffer): Declare buffer as

View file

@ -501,7 +501,6 @@ read_segment (struct grub_diskfilter_segment *seg, grub_disk_addr_t sector,
}
}
}
return GRUB_ERR_NONE;
case GRUB_DISKFILTER_RAID4:
case GRUB_DISKFILTER_RAID5:

View file

@ -574,8 +574,6 @@ grub_net_recv_ip4_packets (struct grub_net_buff *nb,
hwaddress, proto, &source, &dest,
ttl);
}
return GRUB_ERR_NONE;
}
static grub_err_t