* 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:
parent
a67b2a046c
commit
def9fc1bb2
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue