[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
Michael Brown 2013-09-03 20:01:17 +01:00
parent f7f3087cc5
commit 8aaa48beb8
1 changed files with 3 additions and 0 deletions

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;