mirror of https://github.com/ipxe/ipxe.git
[ipv6] Fix uninitialised-variable warning
Fix uninitialised-variable warning reported by gcc 4.5.2. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/14/head
parent
f7f3087cc5
commit
8aaa48beb8
|
@ -352,6 +352,9 @@ static int ndp_rx ( struct io_buffer *iobuf,
|
|||
remaining -= option_len;
|
||||
}
|
||||
|
||||
/* Success */
|
||||
rc = 0;
|
||||
|
||||
done:
|
||||
free_iob ( iobuf );
|
||||
return rc;
|
||||
|
|
Loading…
Reference in New Issue