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;
|
remaining -= option_len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Success */
|
||||||
|
rc = 0;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
free_iob ( iobuf );
|
free_iob ( iobuf );
|
||||||
return rc;
|
return rc;
|
||||||
|
|
Loading…
Reference in New Issue