From 07d88f2f0ec292caaf23d73e90ceb5e236b0a610 Mon Sep 17 00:00:00 2001 From: Joris Giovannangeli Date: Tue, 10 Jun 2014 14:08:24 +0200 Subject: [PATCH] ips: initialize local variables found-with: clang --- sys/dev/raid/ips/ips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/raid/ips/ips.c b/sys/dev/raid/ips/ips.c index c58e6febbd..5835928a61 100644 --- a/sys/dev/raid/ips/ips.c +++ b/sys/dev/raid/ips/ips.c @@ -633,8 +633,8 @@ ips_copperhead_queue_callback(void *queueptr, bus_dma_segment_t *segments, static int ips_copperhead_queue_init(ips_softc_t *sc) { - bus_dma_tag_t dmatag; - bus_dmamap_t dmamap; + bus_dma_tag_t dmatag = NULL; + bus_dmamap_t dmamap = NULL; int error; if (bus_dma_tag_create( /* parent */ sc->adapter_dmatag, -- 2.41.0