aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c
index 81288e2..7d5297e 100644
--- a/test/unit-tests.c
+++ b/test/unit-tests.c
@@ -314,8 +314,8 @@ static void
test_dma_addr_to_sg(void **state UNUSED)
{
dma_memory_region_t *r, *r1;
+ struct iovec iov[2] = { };
dma_sg_t sg[2];
- struct iovec iov[2];
int ret;
vfu_ctx.dma->nregions = 1;