mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/net/tcp.c (grub_net_ip_transport_checksum): Silence spurious
warning.
This commit is contained in:
1 parent
bd40efbf0b
commit
93f87ec28d
1 file changed
+1
-1
+1
-1
@@ -410,7 +410,7 @@ grub_net_ip_transport_checksum (struct grub_net_buff *nb,
|
|||||||
const grub_net_network_level_address_t *src,
|
const grub_net_network_level_address_t *src,
|
||||||
const grub_net_network_level_address_t *dst)
|
const grub_net_network_level_address_t *dst)
|
||||||
{
|
{
|
||||||
grub_uint16_t a, b;
|
grub_uint16_t a, b = 0;
|
||||||
grub_uint32_t c;
|
grub_uint32_t c;
|
||||||
a = ~grub_be_to_cpu16 (grub_net_ip_chksum ((void *) nb->data,
|
a = ~grub_be_to_cpu16 (grub_net_ip_chksum ((void *) nb->data,
|
||||||
nb->tail - nb->data));
|
nb->tail - nb->data));
|
||||||
|
|||||||
Reference in new issue
Block a user