2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-21 17:11:46 +00:00

[ipv6] Fix uninitialised-variable warning

Fix uninitialised-variable warning reported by gcc 4.5.2.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2013-09-03 20:01:17 +01:00
parent f7f3087cc5
commit 8aaa48beb8

View File

@ -352,6 +352,9 @@ static int ndp_rx ( struct io_buffer *iobuf,
remaining -= option_len;
}
/* Success */
rc = 0;
done:
free_iob ( iobuf );
return rc;