Initialize lastaddr to zero to make gcc4.2 happy.

This commit is contained in:
Matt Jacob 2007-06-17 04:21:58 +00:00
parent 0a49733cb9
commit 27705ac087

View File

@ -841,7 +841,7 @@ bus_dmamap_load_uio(bus_dma_tag_t dmat, bus_dmamap_t map,
bus_dmamap_callback2_t *callback, void *callback_arg,
int flags)
{
bus_addr_t lastaddr;
bus_addr_t lastaddr = 0;
int nsegs, error, first, i;
bus_size_t resid;
struct iovec *iov;