From: Yves Blusseau Date: Sun, 30 Oct 2011 09:50:26 +0000 (+0100) Subject: * grub-core/net/tcp.c (grub_net_ip_transport_checksum): Silence spurious X-Git-Tag: 2.00~851^2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93f87ec28d1e4bf67883407f80cce15dc094fc2c;p=thirdparty%2Fgrub.git * grub-core/net/tcp.c (grub_net_ip_transport_checksum): Silence spurious warning. --- diff --git a/grub-core/net/tcp.c b/grub-core/net/tcp.c index 579f94e99..d1f329fe2 100644 --- a/grub-core/net/tcp.c +++ b/grub-core/net/tcp.c @@ -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 *dst) { - grub_uint16_t a, b; + grub_uint16_t a, b = 0; grub_uint32_t c; a = ~grub_be_to_cpu16 (grub_net_ip_chksum ((void *) nb->data, nb->tail - nb->data));